Created
August 26, 2017 11:39
-
-
Save Valian/a40b07d4147b892a483bdf29dcac0377 to your computer and use it in GitHub Desktop.
Simple Dockerfile to run openjdk application
This file contains hidden or 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 openjdk:8 | |
ENV JAVA_OPTS="" | |
WORKDIR /srv | |
COPY snapshot.jar . | |
CMD ["java $JAVA_OPTS -jar snapshot.jar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment