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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user