Skip to content

Commit

Permalink
Merge pull request #219 from TEAMMatchDev/feature/issue-211
Browse files Browse the repository at this point in the history
💚 : Dockerfile 타임존 수정
  • Loading branch information
imenuuu authored Dec 7, 2023
2 parents f3bffb0 + f3a31e4 commit 41e3335
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM openjdk:11-jdk-slim
RUN apk add tzdata && ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
RUN apk add --no-cache tzdata && \
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime && \
echo "Asia/Seoul" > /etc/timezone
ADD /Match-Batch/build/libs/*.jar app.jar
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod", "/app.jar"]
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=prod", "/app.jar"]

0 comments on commit 41e3335

Please sign in to comment.