Try docker compose build

This commit is contained in:
PAlexanderFranklin 2024-03-21 14:47:52 -07:00
parent fba87aaad8
commit 541ddaeb67

View File

@ -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,
) )