From af34f64152e5ff6826bb77e5b5584b746e2ef846 Mon Sep 17 00:00:00 2001 From: dongkyunKim Date: Tue, 16 Jul 2024 00:56:11 +0900 Subject: [PATCH] =?UTF-8?q?Feat(#14):=20docker=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..ce3beb34 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM amazoncorretto:17 +# FROM openjdk:17-jdk +ARG JAR_FILE=build/libs/*.jar + +COPY ${JAR_FILE} kkeujeok-backend-0.0.1-SNAPSHOT.jar +# COPY build/libs/*.jar my-project.jar +ENTRYPOINT ["java","-jar","/kkeujeok-backend-0.0.1-SNAPSHOT.jar"] + +RUN ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime \ No newline at end of file