We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b03e16 commit 29d6eceCopy full SHA for 29d6ece
1 file changed
server/Dockerfile
@@ -50,6 +50,10 @@ FROM node:20-alpine AS runner
50
51
WORKDIR /app
52
53
+# Enable pnpm via corepack for the runner if required
54
+# Or just copy the whole app
55
+RUN corepack enable && corepack prepare pnpm@10 --activate
56
+
57
# Set production environment
58
ENV NODE_ENV=production
59
@@ -73,4 +77,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
73
77
CMD wget --no-verbose --tries=1 --spider http://localhost:3001/api/v1/health || exit 1
74
78
75
79
# Start the server
76
-CMD ["node", "dist/index.js"]
80
+CMD ["node", "./dist/index.js"]
0 commit comments