-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: gitignore에 .env 추가 * feat: application-jpa sql init mode 항목 always->never * feat: 개발환경 db 세팅 값을 cloud db for mysql로 변경 * feat: 개발환경 cicd 스크립트 작성 * feat: 개발용 main 브랜치 ci 스크립트 재작성 * fix: 트리거에서 개발서버 배포담당인 dev브랜치 제외 * fix: 개발환경 작업 스크립트 통합 * feat: 배포용 도커파일 추가
- Loading branch information
1 parent
5f50d41
commit 6a42b1a
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 빌드 스테이지 | ||
FROM gradle:7.4-jdk17 AS build | ||
WORKDIR /app | ||
COPY . . | ||
RUN ./gradlew build -x test | ||
|
||
# 실행 스테이지 | ||
FROM openjdk:17-jdk-slim | ||
WORKDIR /app | ||
COPY --from=build /app/application/build/libs/*.jar app.jar | ||
EXPOSE 8080 | ||
ENTRYPOINT ["java", "-jar", "app.jar"] |