Skip to content

Commit

Permalink
Merge pull request #25 from Sopo2023/feat/#1
Browse files Browse the repository at this point in the history
fix: Dockerfile error
  • Loading branch information
GayeongKimm authored Jul 27, 2024
2 parents 0360fc2 + 4c1e598 commit 8c9adbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openjdk:17
WORKDIR /app
COPY build/libs/myapp.jar app.jar
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} app.jar
ENV TZ=Asia/Seoul
ENTRYPOINT ["java", "-Duser.timezone=Asia/Seoul", "-jar", "/app/app.jar"]
ENTRYPOINT ["java","-jar","/app.jar","-Duser.timezone=Asia/Seoul"]

0 comments on commit 8c9adbb

Please sign in to comment.