Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ywj9811 committed Feb 19, 2024
2 parents e693647 + 70cdb9c commit 3e344ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
key: ${{ secrets.PRIVATE_KEY }}
envs: GITHUB_SHA
script: |
chmod +x /home/ywj9811/config
docker-compose -f /home/ywj9811/config/docker-compose.yml down
docker-compose -f /home/ywj9811/config/docker-compose.yml pull
docker-compose -f /home/ywj9811/config/docker-compose.yml up -d --force-recreate --build
chmod +x /home/ec2-user/config
docker-compose -f /home/ec2-user/config/docker-compose.yml down
docker-compose -f /home/ec2-user/config/docker-compose.yml pull
docker-compose -f /home/ec2-user/config/docker-compose.yml up -d --force-recreate --build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:17-jdk
FROM openjdk:17-jdk-alpine3.14
ARG JAR_FILE=./build/libs/log-0.0.1-SNAPSHOT.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]

0 comments on commit 3e344ff

Please sign in to comment.