Set Xms and Xmx Java-parameters when running the Jar, in Docker.

This commit is contained in:
Lampros Smyrnaios 2023-09-15 14:19:46 +03:00
parent 903c3e1ffc
commit 068b97dd60
1 changed files with 1 additions and 1 deletions

View File

@ -4,4 +4,4 @@ COPY build/libs/*-SNAPSHOT.jar urls_controller.jar
EXPOSE 1880
ENTRYPOINT ["java","-jar","/urls_controller.jar", "--spring.config.location=file:///mnt/config/application.yml"]
ENTRYPOINT ["java", "-Xms1024m", "-Xmx4096m", "-jar", "/urls_controller.jar", "--spring.config.location=file:///mnt/config/application.yml"]