Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit 10a04c9

Browse files
author
Marcelo Rydel
authored
add force-recreate flag to up command (#15)
1 parent 8be0d98 commit 10a04c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose/internal/composebinary/composebinary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func newCommand(command []string, filePaths []string) composeCommand {
104104
}
105105

106106
func newUpCommand(filePaths []string) composeCommand {
107-
return newCommand([]string{"up", "-d"}, filePaths)
107+
return newCommand([]string{"up", "-d", "--force-recreate"}, filePaths)
108108
}
109109

110110
func newDownCommand(filePaths []string) composeCommand {

0 commit comments

Comments
 (0)