Force recreate backend container on deploy
Ensures new code changes are picked up by using --force-recreate flag when starting the backend container. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
37c2532263
commit
f4fd850a49
1 changed files with 2 additions and 2 deletions
|
|
@ -194,8 +194,8 @@ fi
|
|||
echo ""
|
||||
echo "[6/6] Starting backend service..."
|
||||
|
||||
# Start backend container
|
||||
docker compose up -d backend
|
||||
# Start backend container (force recreate to ensure new image is used)
|
||||
docker compose up -d --force-recreate backend
|
||||
|
||||
# Wait for health check
|
||||
echo " Waiting for backend to be healthy..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue