Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 8a57a41

Browse files
committed
Merge pull request #42 from codeclimate/jp/cap-java-memory-usage
Set JVM heap size options
2 parents f5da437 + 4958fae commit 8a57a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ RUN npm install
2525

2626
USER app
2727

28+
ENV JAVA_OPTS="-Xms384m -Xmx384m"
29+
2830
CMD ["/usr/src/app/bin/duplication"]

0 commit comments

Comments
 (0)