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