Perplexity_clone / Dockerfile
mgokg's picture
Update Dockerfile
ad89336 verified
raw
history blame contribute delete
337 Bytes
FROM node:20.18.0-alpine
ARG NEXT_PUBLIC_WS_URL=ws://127.0.0.1:7860
ARG NEXT_PUBLIC_API_URL=http://127.0.0.1:7860/api
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 --frozen-lockfile
RUN yarn build
CMD ["yarn", "start"]