Merge pull request #2274 from mnowster/docs-key-dependency-clarification

Clarify `dockerfile` requires `build` key
This commit is contained in:
mnowster 2015-10-28 17:45:27 +00:00
commit dfaa18ebc5
1 changed files with 3 additions and 1 deletions

View File

@ -100,8 +100,10 @@ Custom DNS search domains. Can be a single value or a list.
Alternate Dockerfile. 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 dockerfile: Dockerfile-alternate
Using `dockerfile` together with `image` is not allowed. Attempting to do so results in an error. Using `dockerfile` together with `image` is not allowed. Attempting to do so results in an error.