Try docker compose build
This commit is contained in:
parent
fba87aaad8
commit
541ddaeb67
@ -193,6 +193,20 @@ def setup_prod(
|
||||
|
||||
try:
|
||||
# Starting with generated compose file
|
||||
subprocess.run(
|
||||
[
|
||||
which("docker"),
|
||||
"compose",
|
||||
"build",
|
||||
"-p",
|
||||
project,
|
||||
"-f",
|
||||
compose_file_name,
|
||||
"--ssh",
|
||||
"default=$HOME/.ssh/brothertonerpprod_ed25519",
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(
|
||||
[
|
||||
which("docker"),
|
||||
@ -203,8 +217,6 @@ def setup_prod(
|
||||
compose_file_name,
|
||||
"up",
|
||||
"-d",
|
||||
"--ssh",
|
||||
"default=$HOME/.ssh/brothertonerpprod_ed25519",
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user