fix: CI 배포 시 컨테이너 stop/rm 후 재생성
All checks were successful
Server CI/CD / deploy (push) Successful in 1m28s
All checks were successful
Server CI/CD / deploy (push) Successful in 1m28s
force-recreate만으로는 크래시 루프 상태에서 교체가 안 되는 문제 해결. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -25,5 +25,7 @@ jobs:
|
||||
git clone https://github.com/tolelom/tolchain.git tolchain
|
||||
docker build --no-cache -t a301-server:latest -f a301_server/Dockerfile .
|
||||
cd ~/server
|
||||
docker compose up -d --force-recreate a301-server
|
||||
docker compose stop a301-server
|
||||
docker compose rm -f a301-server
|
||||
docker compose up -d a301-server
|
||||
rm -rf /tmp/a301-build
|
||||
|
||||
Reference in New Issue
Block a user