Skip to content

Commit

Permalink
(fix) ensure to change work dir before start express
Browse files Browse the repository at this point in the history
  • Loading branch information
driiftkiing committed Jun 11, 2023
1 parent 964e72e commit 3064385
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 @@ -49,6 +49,6 @@ RUN NODE_ENV=dev pnpm install
RUN pnpm -r build
RUN pnpm prune --production

USER ${PUSER}
WORKDIR /youversion/apps/api

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

0 comments on commit 3064385

Please sign in to comment.