feat(dockerfile): update backend image

This commit is contained in:
ItzCrazyKns 2024-10-18 17:29:26 +05:30
parent 4576d3de13
commit c8cd959496
2 changed files with 4 additions and 4 deletions

View file

@ -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"]