test6
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-10-07 21:16:40 +10:00
parent 340e257619
commit 73d2b33b75
+4 -1
View File
@@ -43,9 +43,12 @@ steps:
rm -rf "$TMP_DIR"
cd "$APP_DIR"
docker compose pull web
ss -tlnp | grep :3000 || true
# Принудительно освобождаем порт 3000
docker stop na-granicelife 2>/dev/null || true
docker rm na-granicelife 2>/dev/null || true
docker compose down --remove-orphans || true
# Если порт всё ещё занят — убиваем любой процесс на нём
docker ps -a --filter "publish=3000" -q | xargs -r docker stop 2>/dev/null || true
docker compose up -d
docker image prune -f
docker compose ps