Skip to content

Commit

Permalink
change Dockerfile to use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Jul 23, 2024
1 parent 1922f6e commit 385dd19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ COPY src ./src
COPY migrations ./migrations
COPY test ./test

RUN npm ci
RUN npm i -g pm2
RUN npm i -g yarn
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 385dd19

Please sign in to comment.