Skip to content

Instantly share code, notes, and snippets.

@Valian
Created August 26, 2017 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Valian/a40b07d4147b892a483bdf29dcac0377 to your computer and use it in GitHub Desktop.
Save Valian/a40b07d4147b892a483bdf29dcac0377 to your computer and use it in GitHub Desktop.
Simple Dockerfile to run openjdk application
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