From f9757ac12d8e86a00bf544060be949570becc6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B2=E1=84=89=E1=85=A5=E1=84=85=E1=85=B5?= =?UTF-8?q?=E1=86=AB?= Date: Thu, 21 Sep 2023 19:18:23 +0900 Subject: [PATCH] =?UTF-8?q?=20#1=20[feat]=20docker=20file=20=EC=B6=94?= =?UTF-8?q?=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 0000000..db4c9eb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM openjdk:11 +ARG TZ=Asia/Seoul +EXPOSE 8080 +ARG JAR_FILE=./adapter-web/build/libs/app.jar +COPY ${JAR_FILE} app.jar +ENTRYPOINT ["java","-jar","-Duser.timezone=${TZ}","-Dspring.profiles.active=${PROFILE}","app.jar"] \ No newline at end of file