Skip to content

Commit 9099e82

Browse files
committed
chore: enhance .dockerignore for Docker security
1 parent 8298c0a commit 9099e82

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ venv/
3131
env/
3232
ENV/
3333
.venv
34+
35+
# Environment files (all variants)
3436
.env
37+
.env.*
38+
!.env.example
3539

3640
# IDEs
3741
.vscode/
@@ -52,6 +56,7 @@ htmlcov/
5256
.nox/
5357
.mypy_cache/
5458
.ruff_cache/
59+
.import_linter_cache/
5560
test-results/
5661
coverage.xml
5762

@@ -120,3 +125,15 @@ mutants/
120125
# Node modules (will be built in Docker)
121126
gui/node_modules/
122127
gui/dist/
128+
129+
# SSH keys (prevent accidental exposure)
130+
*id_rsa*
131+
*id_ed25519*
132+
*.pem
133+
*.key
134+
135+
# Private directory
136+
private/
137+
138+
# Secrets baseline
139+
.secrets.baseline

0 commit comments

Comments
 (0)