From 620157b330a652422a8988b795e80d59a42dbb1c Mon Sep 17 00:00:00 2001 From: Sbrenthughes Date: Tue, 7 May 2019 23:19:51 -0400 Subject: [PATCH] Adding ability to pass memory arg to docker container (#53) --- exec-analysis/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/exec-analysis/Dockerfile b/exec-analysis/Dockerfile index edcfc84..28c69bd 100644 --- a/exec-analysis/Dockerfile +++ b/exec-analysis/Dockerfile @@ -2,5 +2,4 @@ FROM openjdk:8 VOLUME /var/app/config ARG JAR_FILE COPY ${JAR_FILE} /var/app/analysis.jar -ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/var/app/analysis.jar"] -CMD [ "--spring.config.location=/var/app/config/application.properties" ] \ No newline at end of file +ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /var/app/analysis.jar --spring.config.location=/var/app/config/application.properties \ No newline at end of file