diff --git a/Dockerfile b/Dockerfile index ea390ca..210a145 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]