What worked for me was renaming the file to just .env. The DotEnv dependency can't find the file if you have given it a name like variables.env.
.env
variables.env