Skip to content

Commit

Permalink
๐Ÿ’š chore: update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyineverywhere authored Sep 19, 2023
1 parent 287c4de commit 3ff901d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
REPOSITORY=/home/ubuntu/snapspot
cd $REPOSITORY

CURRENT_CONTAINER=$(sudo docker ps | grep snapspot-server)
CURRENT_CONTAINER=$(sudo docker ps)

if [ -z $CURRENT_CONTAINER ]
then
Expand All @@ -17,4 +17,4 @@ echo "> ๋„์ปค ์ด๋ฏธ์ง€ ๋นŒ๋“œ"
sudo docker build -t snapspot-api .

echo "> ๋„์ปค ์ปจํ…Œ์ด๋„ˆ ์˜ฌ๋ฆฌ๊ธฐ"
sudo docker run -d docker run -d --name snapspot-server snapspot-api -p 80:8080
sudo docker run -d docker run -d --name snapspot-server snapspot-api -p 80:8080

0 comments on commit 3ff901d

Please sign in to comment.