mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Exclude env files from container image (add .envs/ to .dockerignore)
Currently, environment files are copied to container image during build. Environment files contains secrets and should not be in container images. Per [discussion 4474](https://github.com/cookiecutter/cookiecutter-django/discussions/4474), this is likely a bug. This change excludes all environment files from being copied to container image.
This commit is contained in:
parent
b146d7df04
commit
e951251441
|
@ -9,3 +9,4 @@
|
|||
.travis.yml
|
||||
venv
|
||||
.git
|
||||
.envs/
|
||||
|
|
Loading…
Reference in New Issue
Block a user