Passing Environment Variables to Docker Container When Running in Visual Studio
You can choose to include additional environment files to be passed to the docker run
command by adding the following property to your .csproj file:
<DockerfileRunEnvironmentFiles>your_env_file.env</DockerfileRunEnvironmentFiles>