From 4f541a96e107eb42b9d6d291e28d77f25de5f405 Mon Sep 17 00:00:00 2001 From: BYEONGRYEOL Date: Tue, 4 Jun 2024 22:40:24 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20logback-spring.xml=20docker=20image?= =?UTF-8?q?=EC=97=90=20=ED=8F=AC=ED=95=A8=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile_dev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile_dev b/Dockerfile_dev index 422a34c2..539f3940 100644 --- a/Dockerfile_dev +++ b/Dockerfile_dev @@ -11,12 +11,12 @@ WORKDIR application ENV port 8080 EXPOSE 8080 ENV spring.profiles.active deploy +# build stage에 있는 파일을 복사 COPY --from=builder application/dependencies/ ./ COPY --from=builder application/spring-boot-loader/ ./ COPY --from=builder application/snapshot-dependencies/ ./ COPY --from=builder application/application/ ./ -#COPY logback-spring.xml /application/src/main/resources/logback-spring.xml - +COPY src/main/resources/logback-spring.xml /application/ ENTRYPOINT ["java", "-Dspring.profiles.active=deploy", "-Duser.timezone=Asia/Seoul","-Dlogging.config=/application/logback-spring.xml", "org.springframework.boot.loader.launch.JarLauncher"] \ No newline at end of file