Skip to content

Commit e89dd75

Browse files
committed
Set Java Heap settings
Starting heap 512mb, max heap 1.5GB.
1 parent de048cc commit e89dd75

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="-Xms512m -Xmx1536m"
29+
2830
CMD ["/usr/src/app/bin/duplication"]

0 commit comments

Comments
 (0)