From 4cf0e4267c841a7048e76543b1d4dd5534b18e96 Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Fri, 20 Oct 2023 11:12:09 +0100 Subject: [PATCH] Set docker to cleanup after container has run --- automated_webapp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/automated_webapp.py b/automated_webapp.py index 4ff82c4..62c4eb8 100644 --- a/automated_webapp.py +++ b/automated_webapp.py @@ -83,6 +83,7 @@ def json_to_img(fuel_ignition_json, img_path): type="bind", ) ], + remove=True, ) # Wait for the container to finish starting up while SELENIUM_INIT_MESSAGE not in selenium_container.logs().decode():