Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ WORKDIR /app
COPY --from=builder /project/build/libs/*.jar app.jar

# 실행 명령어
# exec를 사용하여 PID 1을 Java 프로세스가 가져가도록 함 (Graceful Shutdown 지원)
ENTRYPOINT ["sh", "-c", "exec java -Dspring.profiles.active=${PROFILES} -jar app.jar"]
ENTRYPOINT ["sh", "-c", "exec java -Dspring.profiles.active=${PROFILES} -Dspring.config.location=file:/app/config/application.yml -jar app.jar"]