Skip to content

Instantly share code, notes, and snippets.

@lamoboos223
Created September 30, 2022 11:37
Show Gist options
  • Save lamoboos223/d879aaf08bc2d5e91388d3ccc065cafa to your computer and use it in GitHub Desktop.
Save lamoboos223/d879aaf08bc2d5e91388d3ccc065cafa to your computer and use it in GitHub Desktop.
FROM openjdk:8-jdk-alpine
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment