Skip to content

Commit 28f4b02

Browse files
committed
chore: enhance .dockerignore with comprehensive patterns
1 parent 3ba5c81 commit 28f4b02

File tree

1 file changed

+73
-49
lines changed

1 file changed

+73
-49
lines changed

.dockerignore

Lines changed: 73 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,83 @@
1+
# Include any files or directories that you don't want to be copied to your
2+
# container here (e.g., local build artifacts, temporary files, etc.).
3+
#
4+
# For more help, visit the .dockerignore file reference guide at
5+
# https://docs.docker.com/engine/reference/builder/#dockerignore-file
6+
7+
# OS and editor artifacts
8+
**/.DS_Store
9+
**/.vscode
10+
**/.idea
11+
**/*.swp
12+
**/*.swo
13+
**/*~
14+
115
# Version control
216
.git
317
.gitignore
418
.github/
519

620
# Python artifacts
7-
.venv
8-
venv/
9-
env/
10-
__pycache__
11-
*.pyc
12-
*.pyo
13-
*.pyd
14-
*.pdb
15-
.pytest_cache
16-
.coverage
17-
htmlcov/
18-
.mypy_cache/
19-
.ruff_cache/
20-
*.egg-info/
21+
**/__pycache__
22+
**/.venv
23+
**/venv/
24+
**/env/
25+
**/*.pyc
26+
**/*.pyo
27+
**/*.pyd
28+
**/*.pdb
29+
**/.pytest_cache
30+
**/.coverage
31+
**/htmlcov/
32+
**/.mypy_cache/
33+
**/.ruff_cache/
34+
**/*.egg-info/
35+
**/build/
2136
# dist/ contains OpenAPI resources needed at runtime - DO NOT IGNORE
2237
# dist/
23-
build/
2438

2539
# Environment and secrets
26-
.env
27-
.env.*
28-
*.env
29-
.env.local
30-
.env.*.local
31-
*.key
32-
*.pem
33-
*.crt
34-
*.p12
35-
credentials.json
36-
secrets.yaml
37-
secrets.json
40+
**/.env
41+
**/.env.*
42+
**/*.env
43+
**/.env.local
44+
**/.env.*.local
45+
**/*.key
46+
**/*.pem
47+
**/*.crt
48+
**/*.p12
49+
**/credentials.json
50+
**/secrets.yaml
51+
**/secrets.json
52+
**/secrets.dev.yaml
53+
**/values.dev.yaml
54+
55+
# MCP Registry tokens
56+
.mcpregistry_*
3857

39-
# IDE and editor files
40-
.vscode/
41-
.idea/
42-
*.swp
43-
*.swo
44-
*~
45-
.DS_Store
58+
# Docker/Compose files (don't copy into image)
59+
**/docker-compose*
60+
**/compose*
61+
**/Dockerfile*
62+
**/.dockerignore
63+
64+
# Node (if any JS tooling)
65+
**/node_modules
66+
**/npm-debug.log
4667

4768
# Development artifacts
4869
.build
4970
.claude
5071
.debug
51-
*.log
52-
*.pid
53-
*.seed
54-
*.pid.lock
72+
**/*.log
73+
**/*.pid
74+
**/*.seed
75+
**/*.pid.lock
5576

5677
# Test and documentation
5778
tests/
5879
docs/
59-
*.md
80+
**/*.md
6081
!README.md
6182

6283
# Project specific
@@ -68,15 +89,18 @@ examples/credentials/
6889
examples/.env*
6990

7091
# Temporary files
71-
tmp/
72-
temp/
73-
*.tmp
74-
*.bak
75-
*.backup
76-
*.old
92+
**/tmp/
93+
**/temp/
94+
**/*.tmp
95+
**/*.bak
96+
**/*.backup
97+
**/*.old
7798

7899
# Debug and profiling
79-
*.prof
80-
*.lprof
81-
core.*
82-
heapdump.*
100+
**/*.prof
101+
**/*.lprof
102+
**/core.*
103+
**/heapdump.*
104+
105+
# Build outputs (except what we need)
106+
dist_upload/

0 commit comments

Comments
 (0)