Skip to content

Commit 5f54d91

Browse files
klbjlabsMisty Stanley-Jones
authored andcommitted
Update multistage-build.md (docker#5901)
1 parent 54fde83 commit 5f54d91

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

develop/develop-images/multistage-build.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,7 @@ following command assumes you are using the previous `Dockerfile` but stops at
158158
the stage named `builder`:
159159

160160
```bash
161-
$ docker build -t docker build --target builder \
162-
-t alexellis2/href-counter:latest .
161+
$ docker build --target builder -t alexellis2/href-counter:latest .
163162
```
164163

165164
A few scenarios where this might be very powerful are:

0 commit comments

Comments
 (0)