Skip to content

Commit

Permalink
chore: deploy.sh작성
Browse files Browse the repository at this point in the history
  • Loading branch information
govl6113 authored Sep 27, 2023
1 parent 8697817 commit 3043ba1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export JASYPT_ENCRYPTOR_PASSWORD=${password}

docker ps -q --filter "name=cakk" | grep -q . && docker stop cakk && docker rm cakk | true
docker rmi cakk:lastest
docker build -t cakk:lastest /home/ubuntu/docker/jenkins/workspace/cakk/.
docker run -p 8081:8080 -d --name=cakk -e JASYPT_ENCRYPTOR_PASSWORD=$JASYPT_ENCRYPTOR_PASSWORD cakk:lastest

0 comments on commit 3043ba1

Please sign in to comment.