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 Starting services with Docker Compose...
|
||||
%COMPOSE_CMD% up -d
|
||||
echo Building and starting services with Docker Compose...
|
||||
%COMPOSE_CMD% up -d --build
|
||||
|
||||
if %errorlevel% neq 0 (
|
||||
echo.
|
||||
|
||||
@@ -46,13 +46,13 @@ if (-Not (Test-Path ".env")) {
|
||||
}
|
||||
|
||||
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") {
|
||||
docker-compose up -d
|
||||
docker-compose up -d --build
|
||||
} else {
|
||||
docker compose up -d
|
||||
docker compose up -d --build
|
||||
}
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
|
||||
@@ -29,8 +29,8 @@ else
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Starting services with Docker Compose..."
|
||||
docker-compose up -d
|
||||
echo "Building and starting services with Docker Compose..."
|
||||
docker-compose up -d --build
|
||||
|
||||
echo ""
|
||||
echo "Waiting for services to be ready..."
|
||||
|
||||
Reference in New Issue
Block a user