diff --git a/backend/pilotwings.py b/backend/pilotwings.py index e646c4f..8e5b4c2 100644 --- a/backend/pilotwings.py +++ b/backend/pilotwings.py @@ -94,7 +94,7 @@ def create_or_update_container( labels={"engine": "pilotwings", "owner": owner or credentials.username}, name=container_name, network="pilotwings", - restart_policy={"Name": "always"}, + restart_policy={"Name": "on-failure"}, ) client.images.prune({"dangling": True})