Prune before build

This commit is contained in:
Radon Rosborough 2020-07-12 15:07:17 -06:00
parent afc2fff6d8
commit 8a1465b924
1 changed files with 1 additions and 1 deletions

View File

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