Skip to content

Commit a49b1c1

Browse files
committed
fix: remove unnecessary prisma:generate command and generated directory copy from Dockerfile
1 parent beba2e6 commit a49b1c1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ COPY prisma ./prisma/
88
RUN corepack enable && \
99
npm install @antfu/ni -g
1010
RUN nci
11-
RUN nr prisma:generate
1211

1312
COPY . .
1413

@@ -25,7 +24,6 @@ COPY --from=builder /app/package*.json ./
2524
COPY --from=builder /app/pnpm-*.yaml ./
2625
COPY --from=builder /app/dist ./dist
2726
COPY --from=builder /app/prisma ./prisma
28-
COPY --from=builder /app/generated ./generated
2927

3028
EXPOSE 3000
3129
CMD [ "npm", "run", "start:prod" ]

0 commit comments

Comments
 (0)