By putting the secretkey within the Dockerfile, wouldn’t it be a bad idea since you would be committing the Dockerfile consequently exposing your secret key in the repo? The second method of passing the env variable through the cli looks like a better method but can you instead pass a file with all the needed env vars?
By putting the secretkey within the Dockerfile, wouldn’t it be a bad idea since you would be committing the Dockerfile consequently exposing your secret key in the repo?
The second method of passing the env variable through the cli looks like a better method but can you instead pass a file with all the needed env vars?