Skip to content

Commit

Permalink
[chore] #1 ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
qogustj committed Oct 1, 2023
1 parent 8e2d87c commit 712f540
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#cicd
FROM openjdk:17-alpine
COPY ./build/libs/server-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#cicd
version: '3'
services:
blue:
Expand Down
3 changes: 2 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ else
sudo nginx -s reload
echo ">>> green container를 down합니다."
docker-compose stop green
fi
fi
#cicd

0 comments on commit 712f540

Please sign in to comment.