[서석규] sprint11#159
Open
ssk7594-CRz wants to merge 8 commits into
Open
Conversation
ac9831
approved these changes
Mar 31, 2026
Collaborator
ac9831
left a comment
There was a problem hiding this comment.
전반적으로 작성 잘하셨습니다.
수고하셨습니다!
| RUN npm ci --only=production | ||
|
|
||
| COPY prisma ./prisma | ||
| RUN npx prisma generate |
Collaborator
There was a problem hiding this comment.
여기는 prisma CLI이 없으면 실패 가능성이 있습니다.
그래서 보통 builder에서 이미 생성된 prisma Client를 그대로 복사하는 경우도 있는데요.
COPY --from=builder /app/node_modules/.prisma ./node_modules/.prisma
COPY --from=builder /app/node_modules/@prisma/client ./node_modules/@prisma/client
이런 식으로 작성해서 활용하기도 합니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요구사항
기본
심화
주요 변경사항
스크린샷
멘토에게