mirror of https://github.com/docker/docs.git
Update Example To Use Version 3 (#5662)
This commit is contained in:
parent
de9262b939
commit
f57b348089
|
@ -182,7 +182,7 @@ Configuration options that are applied at build time.
|
|||
context:
|
||||
|
||||
```none
|
||||
version: '2'
|
||||
version: '3'
|
||||
services:
|
||||
webapp:
|
||||
build: ./dir
|
||||
|
@ -192,7 +192,7 @@ Or, as an object with the path specified under [context](#context) and
|
|||
optionally [Dockerfile](#dockerfile) and [args](#args):
|
||||
|
||||
```none
|
||||
version: '2'
|
||||
version: '3'
|
||||
services:
|
||||
webapp:
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue