Skip to content

Commit 0a675c2

Browse files
committed
fix: dockerfile
1 parent 7d1a870 commit 0a675c2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ COPY --from=base /app/prisma ./prisma
1919
COPY --from=base /app/node_modules ./node_modules
2020
COPY --from=base /app/next.config.js ./next.config.js
2121

22+
RUN npm i -g pnpm
23+
2224
EXPOSE 3000
2325

2426
ENV NODE_ENV=production \
@@ -31,4 +33,4 @@ ENV NODE_ENV=production \
3133
EMAIL_PASSWORD="" \
3234
EMAIL_FROM=""
3335

34-
CMD ["pnpm", "start"]
36+
CMD ["pnpm", "start"]

0 commit comments

Comments
 (0)