Commit Graph

5 Commits

Author SHA1 Message Date
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
Robin
62df4f4460
Add .git to .dockerignore (#4054) 2023-01-06 17:56:41 +00:00
Fábio C. Barrionuevo da Luz
18a94046b1
Add venv to .dockerignore 2021-06-19 01:18:31 -03:00
Bruno Alla
49b739fc9e Switch .dockerignore to explicit list
Use explicit list of files to ignore instead of exceptions.

Fix #713
2021-04-08 19:42:24 +01:00
Audrey Roy Greenfeld
15f350f05e Change repo_name to project_slug for clarity. 2016-04-20 10:00:35 -07:00