mirror of
https://github.com/docker/docs.git
synced 2026-04-03 01:38:58 +07:00
Support alternate Dockerfile name.
Signed-off-by: Kyle James Walker <KyleJamesWalker@gmail.com>
This commit is contained in:
10
docs/yml.md
10
docs/yml.md
@@ -39,6 +39,16 @@ Compose will build and tag it with a generated name, and use that image thereaft
|
||||
build: /path/to/build/dir
|
||||
```
|
||||
|
||||
### dockerfile
|
||||
|
||||
Alternate Dockerfile.
|
||||
|
||||
Compose will use an alternate file to build with.
|
||||
|
||||
```
|
||||
dockerfile: Dockerfile-alternate
|
||||
```
|
||||
|
||||
### command
|
||||
|
||||
Override the default command.
|
||||
|
||||
Reference in New Issue
Block a user