Skip to content

Commit

Permalink
Exclude env files from container image (add .envs/ to .dockerignore) (#…
Browse files Browse the repository at this point in the history
…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](#4474), this is likely a bug.

This change excludes all environment files from being copied to container image.

Co-authored-by: Bruno Alla <[email protected]>
  • Loading branch information
zhaoruibing and browniebroke authored Aug 14, 2023
1 parent f89ff79 commit bf44d15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions {{cookiecutter.project_slug}}/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
.travis.yml
venv
.git
.envs/

0 comments on commit bf44d15

Please sign in to comment.