mirror of
https://github.com/containers/podman-compose.git
synced 2025-03-31 11:18:12 +02:00
Keep chdir after loading env file
Signed-off-by: BugFest <bugfest.dev@pm.me>
This commit is contained in:
parent
59a59c1a3a
commit
91bc6ebdb4
@ -1533,6 +1533,9 @@ class PodmanCompose:
|
||||
dotenv_path = os.path.realpath(args.env_file)
|
||||
dotenv_dict = dotenv_to_dict(dotenv_path)
|
||||
|
||||
# TODO: remove next line
|
||||
os.chdir(dirname)
|
||||
|
||||
os.environ.update(
|
||||
{
|
||||
key: value
|
||||
|
Loading…
Reference in New Issue
Block a user