Skip to content

Commit

Permalink
Merge pull request #40 from ATOR-Development/fix-prod-start-script
Browse files Browse the repository at this point in the history
Fix production app start script with addition of cli
  • Loading branch information
jim-toth authored Jul 31, 2024
2 parents 6712ec9 + 63fd3f0 commit 9a1eb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ FROM node:18.16-alpine As production
COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/dist ./dist

CMD [ "node", "dist/main.js" ]
CMD [ "node", "dist/src/main.js" ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:prod": "node dist/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
Expand Down

0 comments on commit 9a1eb6c

Please sign in to comment.