Skip to content

Commit

Permalink
chore : Dockerfile 수정 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuminzi committed Oct 9, 2023
1 parent 5f93475 commit 5ab20b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 4Week_Mission/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM openjdk:11-jdk
ARG JAR_FILE=builds/libs/1Week_Mission-0.0.1-SNAPSHOT.jar
FROM openjdk:17-jdk-alpine
ARG JAR_FILE=build/libs/1Week_Mission-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-Dspring.profiles.active=docker", "-jar", "app.jar"]
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-jar","/app.jar"]

0 comments on commit 5ab20b1

Please sign in to comment.