Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Adding ability to pass memory arg to docker container (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbrenthughes authored and rvema committed May 8, 2019
1 parent 69309d8 commit 620157b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions exec-analysis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /var/app/analysis.jar --spring.config.location=/var/app/config/application.properties

0 comments on commit 620157b

Please sign in to comment.