diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..a598c2b3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM openjdk:17-jdk +VOLUME /tmp +ARG JAR_FILE=build/libs/farmus-spring-0.0.1-SNAPSHOT.jar +COPY ${JAR_FILE} farmus-spring.jar + +ENTRYPOINT ["java","-jar","/farmus-spring.jar"] \ No newline at end of file