Skip to content

Commit 576269d

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 6a95eba commit 576269d

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
@@ -29,7 +29,7 @@ images:
2929
**Explanation:**
3030
- The first image is built using the Dockerfile in `./Dockerfile` and the context path `./`.
3131
- The second image is built using the Dockerfile in `./frontend/Dockerfile` and the context path `./frontend/`.
32-
- 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`.
32+
- Switching the `context` for image `frontend` assures that a statement like `ADD file.txt` or `COPY file.txt .` in `./frontend/Dockerfile` uses 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

3535
:::note

0 commit comments

Comments
 (0)