Skip to content

Commit

Permalink
Java now run in shell with additional options (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye-matt authored and benjefferies committed Nov 22, 2017
1 parent f127107 commit 8092bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM openjdk:8-jre

COPY target/collectionexercisesvc*.jar /opt/collectionexercisesvc.jar

ENTRYPOINT [ "java", "-jar", "/opt/collectionexercisesvc.jar" ]
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -jar /opt/collectionexercisesvc.jar" ]

0 comments on commit 8092bc9

Please sign in to comment.