Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 61e61a8

Browse files
authored
Merge pull request #738 from jcsirot/fix-build-examples
Fix incorrect examples for docker app build command
2 parents 80c0233 + e5af083 commit 61e61a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/commands/build/build.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ type buildOptions struct {
4545
noResolveImage bool
4646
}
4747

48-
const buildExample = `- $ docker app run --name myrunningapp myrepo/myapp:mytag
49-
- $ docker app run 34be4a0c5f50 --name myrunningapp`
48+
const buildExample = `- $ docker app build .
49+
- $ docker app build --file myapp.dockerapp --tag myrepo/myapp:1.0.0 .`
5050

5151
func Cmd(dockerCli command.Cli) *cobra.Command {
5252
var opts buildOptions

0 commit comments

Comments
 (0)