diff --git a/docs/compose-file.md b/docs/compose-file.md index d5aeaa3f29..51d1f5e1aa 100644 --- a/docs/compose-file.md +++ b/docs/compose-file.md @@ -105,8 +105,10 @@ Custom DNS search domains. Can be a single value or a list. Alternate Dockerfile. -Compose will use an alternate file to build with. +Compose will use an alternate file to build with. A build path must also be +specified using the `build` key. + build: /path/to/build/dir dockerfile: Dockerfile-alternate Using `dockerfile` together with `image` is not allowed. Attempting to do so results in an error.