feat: 应用增加重建功能
This commit is contained in:

committed by
zhengkunwang223

parent
1ef26aa4eb
commit
ff87cd5989
@@ -16,6 +16,11 @@ func Down(filePath string) (string, error) {
|
||||
return stdout, err
|
||||
}
|
||||
|
||||
func Start(filePath string) (string, error) {
|
||||
stdout, err := cmd.Execf("docker-compose -f %s start", filePath)
|
||||
return stdout, err
|
||||
}
|
||||
|
||||
func Stop(filePath string) (string, error) {
|
||||
stdout, err := cmd.Execf("docker-compose -f %s stop", filePath)
|
||||
return stdout, err
|
||||
|
Reference in New Issue
Block a user