perplexica/app.dockerfile

15 lines
311 B
Plaintext
Raw Normal View History

2024-04-09 10:51:05 +00:00
FROM node:alpine
2024-10-02 17:23:45 +00:00
ARG NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
ARG NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
2024-04-09 10:51:05 +00:00
ENV NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
WORKDIR /home/perplexica
COPY ui /home/perplexica/
RUN yarn install
RUN yarn build
CMD ["yarn", "start"]