Skip to content

Conversation

@rtoohil
Copy link

@rtoohil rtoohil commented Dec 1, 2025

As mentioned in #34, only a small portion of the build syntax was supported, which didn't handle the context and dockerfile (and other options). This PR handles the additional capabilities (which has enabled my default compose file to work).

Swift is not my primary language, so I was assisted in building with Claude Code.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for the context field in Docker Compose build configurations, addressing issue #34. Previously, only basic build syntax was supported; this change enables proper handling of context, dockerfile, and other build options.

Key Changes:

  • Added logic to resolve context paths, handling both absolute and relative paths
  • Modified Dockerfile path resolution to be relative to the build context instead of the current working directory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

README.md Outdated

You may need to provide a path to your `docker-compose.yml` and `.env` file as arguments.

## Docker Compose Compatibility
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really appreciate this Readme update, but can you please make it a separate pull request? It doesn't quite fit this scope.

@rtoohil rtoohil force-pushed the feature/build-context-dockerfile-path-handling branch from ccd4d71 to 34b8e46 Compare December 2, 2025 12:33
@Mcrich23 Mcrich23 self-assigned this Dec 3, 2025
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