fix: 解决升级应用失败的 BUG (#534)

This commit is contained in:
zhengkunwang223
2023-04-07 16:46:11 +08:00
committed by GitHub
parent 3b3fad7278
commit 155363afa6
6 changed files with 62 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ func Up(filePath string) (string, error) {
}
func Down(filePath string) (string, error) {
stdout, err := cmd.Execf("docker-compose -f %s down", filePath)
stdout, err := cmd.Execf("docker-compose -f %s down --remove-orphans", filePath)
return stdout, err
}