Perplexica/app.dockerfile

15 lines
337 B
Text
Raw Normal View History

FROM node:20.18.0-alpine
2024-04-09 16:21:05 +05:30
2024-10-02 22:53:45 +05:30
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 16:21:05 +05:30
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/
2024-10-18 17:29:26 +05:30
RUN yarn install --frozen-lockfile
2024-04-09 16:21:05 +05:30
RUN yarn build
CMD ["yarn", "start"]