Skip to content

Commit

Permalink
[#94] env: nestjs 빌드중 메모리 누수로 인한 임시조치3
Browse files Browse the repository at this point in the history
- 명령어 수정
  • Loading branch information
rdd9223 committed Dec 9, 2023
1 parent bf10836 commit 574956b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY --chown=node:node --from=development /usr/src/app/node_modules ./node_modul
COPY --chown=node:node . .

# Run the build command which creates the production bundle
RUN npm run build --max-old-space-size=2048
RUN NODE_OPTIONS=--max-old-space-size=2048 npm run build

# Set NODE_ENV environment variable
# docker-compose에서 설정함
Expand Down

0 comments on commit 574956b

Please sign in to comment.