We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c88571 commit ae27d77Copy full SHA for ae27d77
Dockerfile
@@ -1,9 +1,20 @@
1
FROM openjdk:17-jdk-slim
2
3
+# 한국 시간대 설정
4
+ENV TZ=Asia/Seoul
5
+RUN apt-get update && apt-get install -y tzdata && \
6
+ ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
7
+ dpkg-reconfigure -f noninteractive tzdata
8
+
9
WORKDIR /app
10
11
+# 실행 환경 설정 (prod)
12
+ENV SPRING_PROFILES_ACTIVE=prod
13
14
+# 애플리케이션 JAR 복사
15
COPY build/libs/*.jar app.jar
16
17
EXPOSE 8080
18
-ENTRYPOINT ["java", "-jar", "app.jar"]
19
+# 애플리케이션 실행
20
+ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-jar", "app.jar"]
0 commit comments