Compare commits

..

2 Commits

Author SHA1 Message Date
parsa aghaei
893280dc2c fix(deploy): sync force-recreate fix to main
All checks were successful
Deploy Canina / deploy (push) Successful in 46s
2026-07-29 16:16:02 +03:30
parsa aghaei
3162fe2a7a fix(deploy): use --force-recreate in docker compose up
All checks were successful
Deploy Canina / deploy (push) Successful in 46s
2026-07-29 16:15:40 +03:30

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}" docker compose build --build-arg NEXT_PUBLIC_API_URL="${API_URL}/api" --build-arg VITE_API_URL="${API_URL}"
echo "Starting containers..." echo "Starting containers..."
docker compose up -d --remove-orphans docker compose up -d --force-recreate --remove-orphans
echo "Waiting for backend to start..." echo "Waiting for backend to start..."
sleep 15 sleep 15