Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cicoub13 authored Jun 20, 2024
1 parent 316cf65 commit 966898c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ USER node

COPY --chown=node:node package.json /home/node/app/package.json
COPY --chown=node:node yarn.lock /home/node/app/yarn.lock
COPY --chown=node:node dist /home/node/app/dist

RUN yarn install
RUN yarn build
COPY --chown=node:node dist /home/node/app/dist

CMD ["node", "dist/src/index.js"]

0 comments on commit 966898c

Please sign in to comment.