Skip to content

Commit

Permalink
fix: deploy 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Haewonny committed Mar 6, 2024
1 parent 88d9122 commit b7432a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM openjdk:17-jdk

ARG JAR_FILE=build/libs/once-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} /app.jar

RUN apk add tzdata
RUN ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

ENTRYPOINT ["java","-jar","/app.jar"]
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit b7432a3

Please sign in to comment.