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 22, 2023
1 parent d742772 commit 8df18bc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
REPOSITORY=/home/ubuntu/qcard
cd $REPOSITORY

echo "> 도커 이미지 빌드"
sudo docker build -t qcard-image .

echo "> 도커 컨테이너 올리기"
sudo docker run -d --name qcard -p 80:8080 qcard-image
echo "> 배포"
sudo docker-compose up -d

0 comments on commit 8df18bc

Please sign in to comment.