Skip to content

Commit

Permalink
Update "Dockerfile"
Browse files Browse the repository at this point in the history
  • Loading branch information
bboggo committed Jan 8, 2024
1 parent bd3103a commit 9fa2ea5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM openjdk:17-jre
COPY *.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
FROM openjdk:17-jdk
#EXPOSE 8080
ARG JAR_FILE=*.jar
COPY ./*.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit 9fa2ea5

Please sign in to comment.