Skip to content

Commit

Permalink
add diagnostic-dir flag
Browse files Browse the repository at this point in the history
  • Loading branch information
pofider committed Nov 2, 2022
1 parent 251b451 commit 89d5a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ RUN npm install --production && \
rm -rf /tmp/*


CMD ["node", "--max-old-space-size=300", "--heapsnapshot-near-heap-limit=3", "server.js"]
CMD ["node", "--max-old-space-size=400", "--diagnostic-dir=/memory-dump", "--heapsnapshot-near-heap-limit=3", "server.js"]

0 comments on commit 89d5a01

Please sign in to comment.