diff --git a/DockerFile b/DockerFile new file mode 100644 index 0000000..860a3fe --- /dev/null +++ b/DockerFile @@ -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"]