Open davidmarkclements opened 7 years ago
just to add:
there's three possible props of the build object
context (non-optional), args, and dockerfile (which may specify a different dockerfile)
https://docs.docker.com/compose/compose-file/compose-file-v2/#build
in v3 context may also be a git url, https://docs.docker.com/compose/compose-file/#context (this might also be true of path in general...)
Am I right that I currently can't add a docker-compose file with a build section including context and Dockerfile? Is there any workaround?
given a service in the
docker-compose.yml
file like:This will result in