Removes the requirement to create an .env file when building the docker container. Loads the environment variables only if the file exists both during build and the entrypoint script. The main tradeoff with this approach is the lack of vars in the environment when shelling into the container.
Removes the requirement to create an .env file when building the docker container. Loads the environment variables only if the file exists both during build and the entrypoint script. The main tradeoff with this approach is the lack of vars in the environment when shelling into the container.