fix: stop old containers before compose up in production deploy #65

Merged
jimmy merged 1 commits from dev into main 2026-05-18 00:07:44 +08:00

1 Commits

Author SHA1 Message Date
Gan, Jimmy 9811b7023d fix: stop old containers before compose up in production deploy
- Add docker compose down step before up to ensure the production
  container is recreated with the freshly-built image
- Without this, compose sees the old running container and skips it,
  while the Docker 24 network bug is silently swallowed by || true

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-18 00:07:17 +08:00