Skip to content

Commit

Permalink
Merge pull request #12 from catchroom/develop
Browse files Browse the repository at this point in the history
Refact : CI/CD 테스트
  • Loading branch information
Parkgeonmoo authored Dec 25, 2023
2 parents c6c3aab + 78a2dff commit 9d7a461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'adopt' # or 'temurin' or 'zulu'


- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM openjdk:17-jdk-slim
CMD ["./mvnw", "clean", "package"]
ARG JAR_FILE_PATH=build/libs/*.jar
ENTRYPOINT ["find", ".", "-name", "*.jar"]
COPY ${JAR_FILE_PATH} app.jar
COPY build/libs/*.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit 9d7a461

Please sign in to comment.