Skip to content

Commit

Permalink
refactor: Dockerfile JAR_FILE Path
Browse files Browse the repository at this point in the history
  • Loading branch information
lomayd committed Oct 28, 2022
1 parent 45b35b6 commit b10228a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:11-jdk
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
ARG JAR_FILE=/build/libs/ssd-backend-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} ssd-backend-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","/ssd-backend-0.0.1-SNAPSHOT.jar"]

0 comments on commit b10228a

Please sign in to comment.