use npm run start instead of node as CMD

This commit is contained in:
Amruth Pillai
2023-11-14 20:15:12 +01:00
parent 07421a5064
commit 044ef8bdb5

View File

@ -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" ]