You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the dockerfile builds correctly, the resulting image won't run because no .env has been imported into the container. There are a couple of ways we can go about handling this issue:
Have the builder specify a build-arg with the path to the .env file - this will be imported into the container
Make loading the .env file optional, i.e. maybe check if the environment variable is already defined, if not, then load the .env file.
Any thoughts on this?
The text was updated successfully, but these errors were encountered:
While the dockerfile builds correctly, the resulting image won't run because no .env has been imported into the container. There are a couple of ways we can go about handling this issue:
Any thoughts on this?
The text was updated successfully, but these errors were encountered: