Skip to content

Instantly share code, notes, and snippets.

@blabadi
Created August 20, 2018 04:02
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 blabadi/300c595172cb7cde26234a49f2c8c2a9 to your computer and use it in GitHub Desktop.
Save blabadi/300c595172cb7cde26234a49f2c8c2a9 to your computer and use it in GitHub Desktop.
FROM openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE=./web/build/libs/nutracker-api-0.1.jar
COPY ${JAR_FILE} 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