dotenv-org / dotenv-vault

sync .env files—from the creator of `dotenv`.
https://www.dotenv.org
MIT License
1.13k stars 32 forks source link

Do not add .env.project and .env.vault to .dockerignore #327

Open CamilleHbp opened 9 months ago

CamilleHbp commented 9 months ago

I do not embed dotenv files in my containers since the environment variables should be provided at container runtime, never at image build time.

Currently the CLI automatically modifies my .dockerignore files even if I don't want it too.

What is the reason for this behaviour? Could you remove this “feature” from the dotenv vault CLI, or at least make it toggleable using a setting? Unless it already is, then I apologies. 😅

Thank you very much for your work! 🙏