Skip to content

Commit

Permalink
Merge pull request #87 from dnd-side-project/hotfix/#86
Browse files Browse the repository at this point in the history
Refactor Docker File
  • Loading branch information
miraexhoi authored Aug 23, 2024
2 parents 060859d + 567b8ea commit 35d93a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openjdk:17
ARG JAR_FILE=build/libs/*.jar
ARG JAR_FILE=build/libs/spaced-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENV TZ=Asia/Seoul
ENTRYPOINT ["java","-jar","/app.jar","-Duser.timezone=Asia/Seoul"]
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Duser.timezone=Asia/Seoul", "-jar", "/app.jar"]

0 comments on commit 35d93a3

Please sign in to comment.