fix(deploy): use --remove-orphans in docker compose up to avoid container name conflicts
Deploy Canina / deploy (push) Successful in 47s

This commit is contained in:
parsa aghaei committed 2026-07-29 16:07:43 +03:30
1 parent bf60df34ef
commit b115c971f5
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ echo "Building Docker images..."
docker compose build --build-arg NEXT_PUBLIC_API_URL="${API_URL}/api" --build-arg VITE_API_URL="${API_URL}"
echo "Starting containers..."
docker compose up -d
docker compose up -d --remove-orphans
echo "Waiting for backend to start..."
sleep 15