mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-30 20:34:39 +02:00
Remove chdir in _parse_compose_file
Signed-off-by: Christian Funkhouser <christian@funkhouse.rs>
This commit is contained in:
parent
51d180d2d0
commit
8af9228a76
@ -1925,9 +1925,6 @@ class PodmanCompose:
|
|||||||
dotenv_path = os.path.realpath(args.env_file)
|
dotenv_path = os.path.realpath(args.env_file)
|
||||||
dotenv_dict.update(dotenv_to_dict(dotenv_path))
|
dotenv_dict.update(dotenv_to_dict(dotenv_path))
|
||||||
|
|
||||||
# TODO: remove next line
|
|
||||||
os.chdir(dirname)
|
|
||||||
|
|
||||||
os.environ.update({
|
os.environ.update({
|
||||||
key: value for key, value in dotenv_dict.items() if key.startswith("PODMAN_")
|
key: value for key, value in dotenv_dict.items() if key.startswith("PODMAN_")
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user