Skip to content

Relative paths in compose file not resolved correctly? #197

Open
@teohhanhui

Description

@teohhanhui

Given the current working directory is
/src/api-platform/api-platform

when doing
docker buildx bake -f docker-compose-prod/docker-compose.build.yml

then the relative path ../admin in the build context of the admin service
(https://github.com/api-platform/docker-compose-prod/blob/3306ffa4723c2636677ff025e5d703a89347ddc1/docker-compose.build.yml#L52)

should be resolved to
/src/api-platform/api-platform/admin

(This works correctly with docker-compose build -f docker-compose-prod/docker-compose.build.yml)

Actual result

unable to prepare context: path "../admin" not found

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions