Env not loaded on docker run

Hello!
Do you happen to have a .dockerignore file in your project that would ignore the .env file?
You can also try to directly load the env file with docker into proper environment variables like this:

docker run --env-file .env strapi