Remove chdir in _parse_compose_file

Signed-off-by: Christian Funkhouser <christian@funkhouse.rs>
This commit is contained in:
Christian Funkhouser 2025-01-27 18:29:39 -07:00
parent 51d180d2d0
commit 8af9228a76
No known key found for this signature in database

View File

@ -1925,9 +1925,6 @@ class PodmanCompose:
dotenv_path = os.path.realpath(args.env_file)
dotenv_dict.update(dotenv_to_dict(dotenv_path))
# TODO: remove next line
os.chdir(dirname)
os.environ.update({
key: value for key, value in dotenv_dict.items() if key.startswith("PODMAN_")
})