Skip to content

Commit 10575d9

Browse files
committed
chore: runtime 이미지에서 Prisma 클라이언트 생성 누락 문제 해결
pnpm 마이그레이션 시 runtime 단계에서 prisma generate를 실행하지 않아 Prisma 클라이언트가 생성되지 않는 문제 수정
1 parent f95902e commit 10575d9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/backend/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@ RUN pnpm install --prod --frozen-lockfile
1919
COPY --from=build /app/dist ./dist
2020
COPY --from=build /app/prisma ./prisma
2121
COPY frontend-build ./dist/frontend
22+
23+
RUN pnpm prisma generate
24+
2225
EXPOSE 3000
2326
CMD ["pnpm", "start:prod"]

0 commit comments

Comments
 (0)