deploy: clean up old containers before starting new ones

This commit is contained in:
2026-03-16 21:43:01 -04:00
parent e6cbc53065
commit 0493910966
+1
View File
@@ -51,6 +51,7 @@ if [ "$APP" = "nginx" ]; then
docker compose run --rm -T nginx nginx -t docker compose run --rm -T nginx nginx -t
fi fi
docker compose down --remove-orphans
docker compose up -d docker compose up -d
if [ "$APP" = "nginx" ]; then if [ "$APP" = "nginx" ]; then