Created
July 22, 2016 20:47
-
-
Save kartikshah/c88b039a7cbc3085897df598ec3e27b0 to your computer and use it in GitHub Desktop.
Sample Dockerfile for springboot app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM frolvlad/alpine-oraclejdk8:slim | |
VOLUME /tmp | |
ADD options-analyzer-1.0-SNAPSHOT.jar app.jar | |
RUN sh -c 'touch /app.jar' | |
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment