Skip to content

Commit

Permalink
Merge pull request #111 from Giveth/change-Dockerfile
Browse files Browse the repository at this point in the history
change Dockerfile
  • Loading branch information
RamRamez authored Jul 23, 2024
2 parents aa3423a + 385dd19 commit 5e2fb97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#https://hub.docker.com/_/node?tab=tags&page=1
FROM node:18.14.0
FROM node:20.14.0

WORKDIR /usr/src/app

Expand All @@ -10,7 +10,7 @@ COPY src ./src
COPY migrations ./migrations
COPY test ./test

RUN npm ci
RUN npm i -g pm2
RUN npm run build #It will run prebuild script for generating swagger spec by tsoa as well
RUN yarn install --frozen-lockfile
RUN yarn build #It will run prebuild script for generating swagger spec by tsoa as well
RUN cp -rv public ./dist

0 comments on commit 5e2fb97

Please sign in to comment.