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
Given the current working directory is
/src/api-platform/api-platformwhen doing
docker buildx bake -f docker-compose-prod/docker-compose.build.ymlthen the relative path
../adminin the build context of theadminservice(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