Skip to content

Commit fca4a4f

Browse files
committed
mod::도커 컨테이너 한국시간대로 설정
1 parent cf5e48a commit fca4a4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ontime-back/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
FROM openjdk:17
2+
RUN apk add --no-cache tzdata && \
3+
ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
4+
echo "Asia/Seoul" > /etc/timezone
25
WORKDIR /app
36
COPY project.jar app.jar
47
ENTRYPOINT ["java", "-jar", "/app/app.jar"]

0 commit comments

Comments
 (0)