feat: cicd pipeline

This commit is contained in:
2025-11-12 23:02:47 +09:00
parent 1fb168850b
commit f1cd9b7fdb
11 changed files with 821 additions and 99 deletions

15
Dockerfile-dev Normal file
View File

@@ -0,0 +1,15 @@
# Stage 1: Build stage (gradle build는 Jenkins에서 이미 수행)
FROM eclipse-temurin:21-jre-jammy
# 작업 디렉토리 설정
WORKDIR /app
# JAR 파일 복사 (Jenkins에서 빌드된 ROOT.jar)
COPY build/libs/ROOT.jar app.jar
# 포트 노출
EXPOSE 8080
# 애플리케이션 실행
# dev 프로파일로 실행
ENTRYPOINT ["java", "-jar", "-Dspring.profiles.active=dev", "app.jar"]