From be315d8aa292ae0746db9419a5e114c946023897 Mon Sep 17 00:00:00 2001 From: kaswhy Date: Thu, 14 Nov 2024 02:54:04 +0900 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20pull=20=EB=8C=80=EC=8B=A0=20?= =?UTF-8?q?=EA=B9=83=ED=97=88=EB=B8=8C=20=EB=A6=AC=ED=8F=AC=EC=A7=80?= =?UTF-8?q?=ED=86=A0=EB=A6=AC=20=EC=82=AD=EC=A0=9C=20=EB=B0=8F=20=ED=81=B4?= =?UTF-8?q?=EB=A1=A0=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 변경 후 - 해당 사항 반영 --- scripts/initialize.sh | 4 ++-- scripts/stop.sh | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/initialize.sh b/scripts/initialize.sh index 2b37608..0967fb1 100644 --- a/scripts/initialize.sh +++ b/scripts/initialize.sh @@ -1,2 +1,2 @@ -cd /home/ubuntu/Server -git pull origin master \ No newline at end of file +git clone https://github.com/PetToothFairy/Server.git +cp docker-compose.yml ./Server \ No newline at end of file diff --git a/scripts/stop.sh b/scripts/stop.sh index a99bb2c..b0139d3 100644 --- a/scripts/stop.sh +++ b/scripts/stop.sh @@ -1,5 +1,10 @@ cd /home/ubuntu/Server docker-compose down +docker image prune -a -docker image prune -a \ No newline at end of file +cp docker-compose.yml ../ + +cd ../ + +rm -rf Server \ No newline at end of file