Only compose if changed
This commit is contained in:
parent
701e69917c
commit
16632f933b
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class Docker:
|
||||||
"""
|
"""
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
os.chdir(dir)
|
os.chdir(dir)
|
||||||
status = getstatusoutput('docker compose up -d')
|
status = getstatusoutput('docker compose up -detach --build --remove-orphans')
|
||||||
os.chdir(cwd)
|
os.chdir(cwd)
|
||||||
return status
|
return status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue