Created
May 29, 2020 20:09
-
-
Save avinash10584/9628576e8c827fcaf6501d27a5c5ebc3 to your computer and use it in GitHub Desktop.
Spring Boot Dockerfile
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:15-jdk-slim | |
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