The use of `os.path.isfile()` omits symlinks when checking for the .env file. Use of symlinks works with docker-compose. Easy fix.