mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Clarify dockerfile
requires build
key
Credit to @funkyfuture for the first PR addressing the clarification. https://github.com/docker/compose/pull/1767 Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
8d816fc2f3
commit
d28b2027b8
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user