Commit f43b8dc
committed
🔒 fix: exclude .env from Docker context and git
Dockerfile runs COPY . . and Docker does not read .gitignore. This
repo takes config via runtime env vars and has no .env today, but
nothing prevented one from being created (e.g. for local compose use),
committed, or baked into an image layer. Cheap insurance on both
fronts.1 parent 890679a commit f43b8dc
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
0 commit comments