Skip to content

Commit

Permalink
fix(docker): Add build context to app-dev service in docker-compose.yaml
Browse files Browse the repository at this point in the history
Fix invalid docker-compose configuration by adding missing build context properties to app-dev service.

This PR resolves the following error:
"ERROR: The Compose file is invalid because: Service app-dev has neither an image nor a build context specified. At least one must be provided."

Changes:
- Added build.context and build.dockerfile properties to app-dev service
- Aligned build configuration with existing app-prod service structure
  • Loading branch information
MenaYassa authored Jan 18, 2025
1 parent e196442 commit 524865d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ services:
app-dev:
image: bolt-ai:development
build:
context: .
dockerfile: Dockerfile
target: bolt-ai-development
environment:
- NODE_ENV=development
Expand Down

0 comments on commit 524865d

Please sign in to comment.