fix: Build Docker image locally instead of pulling from registry

- Change docker-compose.prod.yml from image: to build: configuration
- Remove image pulling from deployment script
- Add --build flag to docker-compose up command
- Fixes "image not found" error by building from local Dockerfile

This ensures the deployment script builds the image from source
instead of trying to pull a non-existent image from a registry.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-12 19:53:07 -06:00
parent 8bd721074e
commit e48fdc9691
2 changed files with 8 additions and 9 deletions

View File

@@ -2,7 +2,10 @@ version: '3.8'
services:
bct-app:
image: bct-whitelabel:latest
build:
context: .
dockerfile: Dockerfile
target: production
container_name: bct-astro-prod
ports:
- "3000:3000"