Skip to content

Commit

Permalink
Fix: logback-spring.xml docker image에 포함하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Jun 4, 2024
1 parent 50d4579 commit 4f541a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 4f541a9

Please sign in to comment.