Skip to content

Commit

Permalink
use npm run start instead of node as CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Nov 14, 2023
1 parent 07421a5 commit 044ef8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ COPY --chown=node:node --from=build /app/node_modules/.prisma/client ./node_modu
# Copy Prisma Schema & Migrations
COPY --chown=node:node --from=build /app/tools/prisma ./tools/prisma

CMD [ "dumb-init", "node", "dist/apps/server/main" ]
CMD [ "dumb-init", "npm", "run", "start" ]

0 comments on commit 044ef8b

Please sign in to comment.