From 3c7a71c2e3e9260a48cb706f3e0d0ea09568b34d Mon Sep 17 00:00:00 2001 From: MinchoGreenT Date: Wed, 13 Mar 2024 16:07:09 +0900 Subject: [PATCH] =?UTF-8?q?Dockerfile=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Dockerfile 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