From 541ddaeb6757c5658bd9ed315c9757b01bc1087e Mon Sep 17 00:00:00 2001 From: PAlexanderFranklin Date: Thu, 21 Mar 2024 14:47:52 -0700 Subject: [PATCH] Try docker compose build --- easy-installer.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/easy-installer.py b/easy-installer.py index 83535d7a..0af48670 100644 --- a/easy-installer.py +++ b/easy-installer.py @@ -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, )