Skip to content

Commit 53bfb3a

Browse files
committed
Set Java Heap settings
Starting heap 512mb, max heap 1.25GB.
1 parent de048cc commit 53bfb3a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ RUN npm install
2525

2626
USER app
2727

28+
# starting heap, max heap
29+
ENV JAVA_OPTS="-Xms512m -Xmx1280m"
30+
2831
CMD ["/usr/src/app/bin/duplication"]

0 commit comments

Comments
 (0)