mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-21 17:16:51 +03:00
Exclude env files from container image (add .envs/ to .dockerignore) (#4476)
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. Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
f89ff79aee
commit
bf44d152ea
|
@ -9,3 +9,4 @@
|
|||
.travis.yml
|
||||
venv
|
||||
.git
|
||||
.envs/
|
||||
|
|
Loading…
Reference in New Issue
Block a user