Skip to content

Commit

Permalink
change Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Jul 23, 2024
1 parent 3a8e70b commit 1922f6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 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 @@ -12,5 +12,6 @@ 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 npm i -g yarn
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 1922f6e

Please sign in to comment.