Skip to content

Commit 231a1c8

Browse files
committed
Build fix
1 parent c253637 commit 231a1c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ RUN pnpm build
2222
# ---- Production Stage ----
2323
FROM base AS production
2424
ENV NODE_ENV production
25-
RUN npm install -g pnpm
2625
# Copy built application from the build stage
2726
COPY --from=build /usr/src/app/dist ./dist
2827
# Copy production dependencies from the deps stage
@@ -32,4 +31,4 @@ COPY --from=deps /usr/src/app/node_modules ./node_modules
3231
EXPOSE 3000
3332

3433
# Start the application
35-
CMD ["pnpm", "run", "start:prod"]
34+
CMD ["node", "dist/main.js"]

0 commit comments

Comments
 (0)