fix: exclude .env files from Docker image
The .dockerignore was missing .env files, which caused local development environment variables (including test OIDC configuration) to be baked into Docker images. This resulted in Google login appearing in production Docker containers even when OIDC wasn't configured via docker-compose environment variables. Now .env files are properly excluded from Docker builds.
This commit is contained in:
parent
d3961ba32d
commit
372716947a
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
*~
|
*~
|
||||||
|
.env
|
||||||
|
**/.env
|
||||||
**/.env.local
|
**/.env.local
|
||||||
**/.env.development
|
**/.env.development
|
||||||
**/.env.test
|
**/.env.test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue