From 09fdbe17c3d5be6bf3680b6904f3d982c8feeb99 Mon Sep 17 00:00:00 2001 From: Lars Waage <46653859+larwaa@users.noreply.github.com> Date: Fri, 14 Jul 2023 20:23:14 +0200 Subject: [PATCH] chore: avoid running npm scripts during start --- Dockerfile.prod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.prod b/Dockerfile.prod index 288641cf..b66fb645 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -28,4 +28,4 @@ COPY --from=builder /usr/src/app/package.json ./package.json COPY --from=builder /usr/src/app/node_modules ./node_modules COPY --from=builder /usr/src/app/dist ./dist -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["node", "./dist/index.js"] \ No newline at end of file