Only compose if changed

This commit is contained in:
askiiart 2022-12-15 17:14:48 -06:00
parent 701e69917c
commit 16632f933b

View file

@ -129,7 +129,7 @@ class Docker:
"""
cwd = os.getcwd()
os.chdir(dir)
status = getstatusoutput('docker compose up -d')
status = getstatusoutput('docker compose up -detach --build --remove-orphans')
os.chdir(cwd)
return status