We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c253637 commit 231a1c8Copy full SHA for 231a1c8
Dockerfile
@@ -22,7 +22,6 @@ RUN pnpm build
22
# ---- Production Stage ----
23
FROM base AS production
24
ENV NODE_ENV production
25
-RUN npm install -g pnpm
26
# Copy built application from the build stage
27
COPY --from=build /usr/src/app/dist ./dist
28
# Copy production dependencies from the deps stage
@@ -32,4 +31,4 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
32
31
EXPOSE 3000
33
34
# Start the application
35
-CMD ["pnpm", "run", "start:prod"]
+CMD ["node", "dist/main.js"]
0 commit comments