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