Perplexica/app.dockerfile

20 lines
343 B
Text
Raw Normal View History

2024-04-09 16:21:05 +05:30
FROM node:alpine
ARG NEXT_PUBLIC_WS_URL
ARG NEXT_PUBLIC_API_URL
ENV NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
WORKDIR /home/perplexica
2024-09-25 17:23:06 -07:00
COPY ui/package.json /home/perplexica/
COPY ui/yarn.lock /home/perplexica/
2024-04-09 16:21:05 +05:30
RUN yarn install
2024-09-25 17:23:06 -07:00
COPY ui /home/perplexica/
2024-04-09 16:21:05 +05:30
RUN yarn build
2024-09-25 17:23:06 -07:00
CMD ["yarn", "start"]