Perplexica/app.dockerfile

15 lines
291 B
Text
Raw Normal View History

2024-04-09 16:21:05 +05:30
FROM node:alpine
ARG BACKEND_WS_URL='ws://127.0.0.1:3001'
ARG BACKEND_API_URL='http://127.0.0.1:3001/api'
ENV BACKEND_WS_URL=${BACKEND_WS_URL}
ENV BACKEND_API_URL=${BACKEND_API_URL}
2024-04-09 16:21:05 +05:30
WORKDIR /home/perplexica
COPY ui /home/perplexica/
RUN yarn install
RUN yarn build
CMD ["yarn", "start"]