From 8a1465b924ece6c6036e59c155e70bc9a6e03890 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 12 Jul 2020 15:07:17 -0600 Subject: [PATCH] Prune before build --- scripts/deploy-phase2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy-phase2.py b/scripts/deploy-phase2.py index adbf088..c3ffcb2 100755 --- a/scripts/deploy-phase2.py +++ b/scripts/deploy-phase2.py @@ -10,8 +10,8 @@ import sys import tempfile import time -subprocess.run(["make", "image-prod"], check=True) subprocess.run(["docker", "system", "prune", "-f"], check=True) +subprocess.run(["make", "image-prod"], check=True) existing_containers = subprocess.run( ["docker", "ps", "-q"], check=True, stdout=subprocess.PIPE ).stdout.splitlines()