-
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.
Merge pull request #127 from ShallWeProject/feat/125-github-action-ci/cd
GitHub Action CI/CD 구축
- Loading branch information
Showing
6 changed files
with
85 additions
and
13 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
FROM openjdk:17-jdk | ||
|
||
# JAR_FILE 변수 정의 | ||
ARG JAR_FILE=./build/libs/ShallWe-0.0.1-SNAPSHOT.jar | ||
|
||
# JAR 파일 메인 디렉터리에 복사 | ||
COPY ${JAR_FILE} app.jar | ||
|
||
# 시스템 진입점 정의 | ||
ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.jar"] | ||
#FROM openjdk:11-jdk | ||
# | ||
## JAR_FILE 변수 정의 | ||
#ARG JAR_FILE=./build/libs/ShallWe-0.0.1-SNAPSHOT.jar | ||
# | ||
## JAR 파일 메인 디렉터리에 복사 | ||
#COPY ${JAR_FILE} app.jar | ||
# | ||
## 시스템 진입점 정의 | ||
#ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /app.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM openjdk:17-jdk | ||
EXPOSE 8080 | ||
ARG JAR_FILE=/build/libs/ShallweProject_Server-0.0.1-SNAPSHOT.jar | ||
COPY ${JAR_FILE} app.jar | ||
ENTRYPOINT ["java","-jar","-Djasypt.encryptor.password=${JASYPT_PASSWORD}","-Dspring.profiles.active=dev","/app.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
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
File renamed without changes.