fix: exec docker compose in stackdir
This commit is contained in:
parent
5640899198
commit
18cce050e2
1 changed files with 2 additions and 1 deletions
3
dc-ops
3
dc-ops
|
@ -63,7 +63,8 @@ for stack in cfg["stacks"]:
|
|||
for composefile in composefiles:
|
||||
try:
|
||||
subprocess.run(
|
||||
f"docker compose --file {stackdir}/{composefile} up --build --detach --remove-orphans", # noqa
|
||||
f"docker compose --file {composefile} up --build --detach --remove-orphans", # noqa
|
||||
cwd=stackdir,
|
||||
shell=True,
|
||||
text=True,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue