mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2024-09-11 12:05:38 +03:00
15 lines
265 B
Plaintext
15 lines
265 B
Plaintext
|
FROM node:alpine
|
||
|
|
||
|
ARG NEXT_PUBLIC_WS_URL
|
||
|
ARG NEXT_PUBLIC_API_URL
|
||
|
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
|
||
|
RUN yarn build
|
||
|
|
||
|
CMD ["yarn", "start"]
|