Skip to content

Commit

Permalink
fix(scripts): env 파일도 함께 이동
Browse files Browse the repository at this point in the history
변경 후
- 해당 변경 사항 추가
  • Loading branch information
kaswhy committed Nov 13, 2024
1 parent 3dd2a92 commit e300a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/initialize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ git clone https://github.com/PetToothFairy/Server.git

# docker-compose.yml 파일을 Server 디렉토리로 복사
cp /home/ubuntu/docker-compose.yml /home/ubuntu/Server/
cp /home/ubuntu/.env /home/ubuntu/Server

sudo usermod -aG docker ubuntu
3 changes: 1 addition & 2 deletions scripts/stop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ cd /home/ubuntu/Server

sudo docker-compose down
sudo docker image prune -a

cp docker-compose.yml /home/ubuntu
sudo docker network prune

cd ../

Expand Down

0 comments on commit e300a46

Please sign in to comment.