2024-04-09 16:21:05 +05:30
|
|
|
FROM node:alpine
|
|
|
|
|
|
|
|
ARG NEXT_PUBLIC_WS_URL
|
|
|
|
ARG NEXT_PUBLIC_API_URL
|
2024-05-10 18:11:23 -04:00
|
|
|
ARG NEXT_PUBLIC_SUPER_SECRET_KEY
|
2024-05-10 16:07:58 -04:00
|
|
|
|
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}
|
2024-05-10 18:11:23 -04:00
|
|
|
ENV NEXT_PUBLIC_SUPER_SECRET_KEY=${NEXT_PUBLIC_SUPER_SECRET_KEY}
|
2024-04-09 16:21:05 +05:30
|
|
|
|
|
|
|
WORKDIR /home/perplexica
|
|
|
|
|
|
|
|
COPY ui /home/perplexica/
|
|
|
|
|
|
|
|
RUN yarn install
|
|
|
|
RUN yarn build
|
|
|
|
|
2024-05-10 16:07:58 -04:00
|
|
|
CMD ["yarn", "start"]
|