Skip to content

Commit

Permalink
feat(dockerfile): update backend image
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCrazyKns committed Oct 18, 2024
1 parent 4576d3d commit c8cd959
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app.dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]
4 changes: 2 additions & 2 deletions backend.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-buster
FROM node:18-slim

WORKDIR /home/perplexica

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

0 comments on commit c8cd959

Please sign in to comment.