cookiecutter-django/{{cookiecutter.project_slug}}/.dockerignore
zhaoruibing bf44d152ea
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>
2023-08-14 11:22:25 +01:00

13 lines
139 B
Plaintext

.editorconfig
.gitattributes
.github
.gitignore
.gitlab-ci.yml
.idea
.pre-commit-config.yaml
.readthedocs.yml
.travis.yml
venv
.git
.envs/