forked from lsmyrnaios/UrlsController
Set Xms and Xmx Java-parameters when running the Jar, in Docker.
This commit is contained in:
parent
903c3e1ffc
commit
068b97dd60
|
@ -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"]
|
||||
|
|
Loading…
Reference in New Issue