Update quickstart scripts to always rebuild containers
- Added --build flag to docker-compose up command - Ensures latest code changes are always included - Prevents issues with stale cached images - Updated all three quickstart scripts (Linux/macOS, Windows batch, PowerShell) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -41,8 +41,8 @@ if not exist .env (
|
|||||||
)
|
)
|
||||||
|
|
||||||
echo.
|
echo.
|
||||||
echo Starting services with Docker Compose...
|
echo Building and starting services with Docker Compose...
|
||||||
%COMPOSE_CMD% up -d
|
%COMPOSE_CMD% up -d --build
|
||||||
|
|
||||||
if %errorlevel% neq 0 (
|
if %errorlevel% neq 0 (
|
||||||
echo.
|
echo.
|
||||||
|
|||||||
@@ -46,13 +46,13 @@ if (-Not (Test-Path ".env")) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
Write-Host "Starting services with Docker Compose..." -ForegroundColor Yellow
|
Write-Host "Building and starting services with Docker Compose..." -ForegroundColor Yellow
|
||||||
|
|
||||||
# Start services
|
# Start services with rebuild
|
||||||
if ($composeCmd -eq "docker-compose") {
|
if ($composeCmd -eq "docker-compose") {
|
||||||
docker-compose up -d
|
docker-compose up -d --build
|
||||||
} else {
|
} else {
|
||||||
docker compose up -d
|
docker compose up -d --build
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($LASTEXITCODE -ne 0) {
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Starting services with Docker Compose..."
|
echo "Building and starting services with Docker Compose..."
|
||||||
docker-compose up -d
|
docker-compose up -d --build
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Waiting for services to be ready..."
|
echo "Waiting for services to be ready..."
|
||||||
|
|||||||
Reference in New Issue
Block a user