Skip to content

Commit cc01865

Browse files
committed
Fix : 도커 파일 수정
1 parent 3cb777d commit cc01865

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ COPY build/libs/*.jar app.jar
1010
# Expose the port the application runs on
1111
EXPOSE 8080
1212

13+
# Set the default environment variables
14+
ENV SPRING_PROFILES_ACTIVE=prod
15+
1316
# Command to run the application
14-
CMD ["java", "-jar", "app.jar --spring.profiles.active=prod"]
17+
ENTRYPOINT ["java", "-jar", "app.jar"]

0 commit comments

Comments
 (0)