Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 authored Oct 28, 2023
1 parent 6df29c9 commit f372494
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DockerFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:17-jdk
ARG JAR_FILE=./build/libs/postgraduate-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit f372494

Please sign in to comment.