From 044ef8bdb529a276c39e42c0928de1f1f37afc3b Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Tue, 14 Nov 2023 20:15:12 +0100 Subject: [PATCH] use npm run start instead of node as CMD --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 97aff74d..1608cec7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" ]