From 18d950ba28afd70b665c61e44420d1d280c97b0f Mon Sep 17 00:00:00 2001 From: kaswhy Date: Thu, 14 Nov 2024 02:58:10 +0900 Subject: [PATCH] =?UTF-8?q?fix(scripts):=20=EB=B3=B5=EC=82=AC=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EC=9C=84=EC=B9=98=20=EA=B2=BD=EB=A1=9C=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 변경 후 - 해당 사항 반영 --- scripts/initialize.sh | 8 +++++++- scripts/stop.sh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/initialize.sh b/scripts/initialize.sh index 0967fb1..2597c83 100644 --- a/scripts/initialize.sh +++ b/scripts/initialize.sh @@ -1,2 +1,8 @@ +# 이동할 디렉토리로 변경 +cd /home/ubuntu + +# GitHub에서 Server 리포지토리 클론 git clone https://github.com/PetToothFairy/Server.git -cp docker-compose.yml ./Server \ No newline at end of file + +# docker-compose.yml 파일을 Server 디렉토리로 복사 +cp /home/ubuntu/docker-compose.yml /home/ubuntu/Server/ diff --git a/scripts/stop.sh b/scripts/stop.sh index b0139d3..9f39784 100644 --- a/scripts/stop.sh +++ b/scripts/stop.sh @@ -3,7 +3,7 @@ cd /home/ubuntu/Server docker-compose down docker image prune -a -cp docker-compose.yml ../ +cp docker-compose.yml /home/ubuntu cd ../