diff --git a/app/core/config.py b/app/core/config.py index 8bf7dd84..e0c7de10 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -296,6 +296,6 @@ class Settings(BaseSettings): settings = Settings( - _env_file=Path(os.environ.get("CONFIG_DIR", "/config")) / "app.env", + _env_file=Settings().CONFIG_PATH / "app.env", _env_file_encoding="utf-8" )