-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Server] git actions를 사용한 배포 자동화 (#46)
* deploy : CD테스트 * deploy : Dockerfile 추가 * Update gradle.yml * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트 * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트 * deploy : CD 테스트 * Update gradle.yml * deploy : CD 테스트
- Loading branch information
Showing
5 changed files
with
30 additions
and
57 deletions.
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,16 @@ | ||
#경량 리눅스 배포판, 도커 이미지 크기를 줄이는데 유용함 | ||
FROM openjdk:17-alpine | ||
|
||
#도커 이미지 내의 작업 디렉토리 정의 | ||
WORKDIR /banchango/ | ||
|
||
#빌드 인자 기본값 정의 | ||
ARG JAR_FILE=/build/libs/banchango-0.0.1-SNAPSHOT.jar | ||
|
||
#호스트 시스템에서 빌드된 Jar파일을 도커 이미지 내부로 옮김 | ||
COPY ${JAR_FILE} /banchango.jar | ||
|
||
#컨테이너 실행 명령어 | ||
#ex) java -jar -Dspring.profiles.active=prod /sejongmate.jar | ||
ENTRYPOINT ["java","-jar","/banchango.jar"] | ||
# |
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
12 changes: 0 additions & 12 deletions
12
Server/banchango/src/main/resources/application-prod.properties
This file was deleted.
Oops, something went wrong.
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