Skip to content

Commit

Permalink
fix: 도커 빌드 결과물 copy 시 next.config.mjs도 포함하도록 변경 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdongsuk authored Jul 18, 2024
1 parent c5d544f commit 267efb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ COPY --from=build /app/public ./public
COPY --from=build /app/package.json ./
COPY --from=build /app/package-lock.json ./

# next.config.js 파일 복사
COPY --from=build /app/next.config.mjs ./

# 프로덕션 의존성 설치
RUN npm install --only=production

Expand Down

0 comments on commit 267efb1

Please sign in to comment.