Set docker to cleanup after container has run

This commit is contained in:
Cian Hughes
2023-10-20 11:12:09 +01:00
parent a5632fb373
commit 4cf0e4267c

View File

@@ -83,6 +83,7 @@ def json_to_img(fuel_ignition_json, img_path):
type="bind", type="bind",
) )
], ],
remove=True,
) )
# Wait for the container to finish starting up # Wait for the container to finish starting up
while SELENIUM_INIT_MESSAGE not in selenium_container.logs().decode(): while SELENIUM_INIT_MESSAGE not in selenium_container.logs().decode():