From 9e19d8e84b543a22bfa7d6a7e4016052bc62cc2b Mon Sep 17 00:00:00 2001 From: Cian Hughes Date: Thu, 13 Aug 2026 21:44:02 +0100 Subject: [PATCH] Fixed env variable binding problem --- cli/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/utils.py b/cli/utils.py index da5d166..89856fa 100644 --- a/cli/utils.py +++ b/cli/utils.py @@ -60,7 +60,6 @@ _deploy_env_vars = None def docker_compose(*args): global _deploy_env_vars import typer - from plumbum import local from plumbum.cmd import docker from cli.config import config @@ -95,5 +94,5 @@ def docker_compose(*args): compose = docker[ "compose", "-f", config.docker_compose_file, "--env-file", str(env_file) ] - with local.env(**_deploy_env_vars): - return compose[*args] + + return compose[*args].with_env(**_deploy_env_vars)