mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2024-11-20 14:14:16 +03:00
15 lines
329 B
Docker
15 lines
329 B
Docker
FROM node:alpine
|
|
|
|
ARG NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
|
ARG NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/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"] |