feat(dockerfile): update backend image
This commit is contained in:
parent
4576d3de13
commit
c8cd959496
|
@ -1,4 +1,4 @@
|
|||
FROM node:18-slim
|
||||
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
|
||||
|
@ -9,7 +9,7 @@ WORKDIR /home/perplexica
|
|||
|
||||
COPY ui /home/perplexica/
|
||||
|
||||
RUN yarn install --frozen-lockfile --network-timeout 600000
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start"]
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:20-buster
|
||||
FROM node:18-slim
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
|
@ -10,7 +10,7 @@ COPY yarn.lock /home/perplexica/
|
|||
|
||||
RUN mkdir /home/perplexica/data
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn install --frozen-lockfile --network-timeout 600000
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start"]
|
Loading…
Reference in New Issue