Skip to content

Commit c33a756

Browse files
authored
Update build.md (#19310)
Grammar/spelling fixes
1 parent 14d58d9 commit c33a756

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/compose/compose-file/build.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ In the former case, the whole path is used as a Docker context to execute a Dock
1717
`Dockerfile` at the root of the directory. The path can be absolute or relative. If it is relative, it is resolved
1818
from the Compose file's parent folder. If it is absolute, the path prevents the Compose file from being portable so Compose displays a warning.
1919

20-
In the later case, build arguments can be specified, including an alternate `Dockerfile` location. The path can be absolute or relative. If it is relative, it is resolved
20+
In the latter case, build arguments can be specified, including an alternate `Dockerfile` location. The path can be absolute or relative. If it is relative, it is resolved
2121
from the Compose file's parent folder. If it is absolute, the path prevents the Compose file from being portable so Compose displays a warning.
2222

2323
## Using `build` and `image`
2424

25-
When Compose is confronted with both a `build` subsection for a service and an `image` attribute. It follows the rules defined by the [`pull_policy`](05-services.md#pull_policy) attribute.
25+
When Compose is confronted with both a `build` subsection for a service and an `image` attribute, it follows the rules defined by the [`pull_policy`](05-services.md#pull_policy) attribute.
2626

2727
If `pull_policy` is missing from the service definition, Compose attempts to pull the image first and then builds from source if the image isn't found in the registry or platform cache.
2828

@@ -550,4 +550,4 @@ Composes reports an error in the following cases:
550550
context: "."
551551
platforms:
552552
- "linux/arm64"
553-
```
553+
```

0 commit comments

Comments
 (0)