Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docker): add build context to app-dev service in docker-compose.yaml #1123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MenaYassa
Copy link

@MenaYassa MenaYassa commented Jan 18, 2025

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

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
@MenaYassa MenaYassa changed the title fix(docker): Add build context to app-dev service in docker-compose.yaml fix(docker): add build context to app-dev service in docker-compose.yaml Jan 18, 2025
@thecodacus
Copy link
Collaborator

the value are default for docker compose with "build". is there any issue reported for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants