fix(deploy): use --force-recreate in docker compose up
All checks were successful
Deploy Canina / deploy (push) Successful in 46s

This commit is contained in:
parsa aghaei 2026-07-29 16:15:40 +03:30
parent b115c971f5
commit 3162fe2a7a

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 --remove-orphans
docker compose up -d --force-recreate --remove-orphans
echo "Waiting for backend to start..."
sleep 15