mirror of https://github.com/docker/docs.git
Merge pull request #19373 from eriksjolund/fix-stage-name-references
build: fix stage name references
This commit is contained in:
commit
b9cd394bf2
|
@ -40,11 +40,11 @@ has to be. Build arguments make life easier:
|
|||
go build -o /bin/server ./cmd/server
|
||||
|
||||
FROM scratch AS client
|
||||
COPY --from=build /bin/client /bin/
|
||||
COPY --from=build-client /bin/client /bin/
|
||||
ENTRYPOINT [ "/bin/client" ]
|
||||
|
||||
FROM scratch AS server
|
||||
COPY --from=build /bin/server /bin/
|
||||
COPY --from=build-server /bin/server /bin/
|
||||
ENTRYPOINT [ "/bin/server" ]
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue