Skip to content

Commit 6a95eba

Browse files
jschalztrloftsh
andauthored
Update docs/pages/configuration/images/image-definition/dockerfile.mdx
Co-authored-by: trloftsh <101590542+trloftsh@users.noreply.github.com>
1 parent 078cb16 commit 6a95eba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/pages/configuration/images/image-definition/dockerfile.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ images:
2828
```
2929
**Explanation:**
3030
- The first image is built using the Dockerfile in `./Dockerfile` and the context path `./`.
31-
- The second image would be built using the Dockerfile in `./frontend/Dockerfile` and the context path `./frontend/`.
31+
- The second image is built using the Dockerfile in `./frontend/Dockerfile` and the context path `./frontend/`.
3232
- Switching the `context` for image `frontend` would assure that a statement like `ADD file.txt` or `COPY file.txt .` in `./frontend/Dockerfile` would use the local file `./frontend/file.txt` instead of `./file.txt`.
3333
- In this example, it would probably be useful to have a `./.dockerignore` file which ignores the `frontend/` folder when building the first image called `backend`.
3434

0 commit comments

Comments
 (0)