forked from IBM/mcp-context-forge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.dockerignore
More file actions
381 lines (327 loc) · 6.12 KB
/
.dockerignore
File metadata and controls
381 lines (327 loc) · 6.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# syntax=docker/dockerfile:1
#----------------------------------------------------------------------
# Docker Build Context Optimization
#
# This .dockerignore file excludes unnecessary files from the Docker
# build context to improve build performance and security.
#----------------------------------------------------------------------
#----------------------------------------------------------------------
# 1. Development and source directories (not needed in production)
#----------------------------------------------------------------------
agent_runtimes/
charts/
deployment/
docs/
deployment/k8s/
mcp-servers/
tests/
test/
attic/
*.md
.benchmarks/
.claude
# Development environment directories
.devcontainer/
.github/
.vscode/
.idea/
#----------------------------------------------------------------------
# 2. Version control
#----------------------------------------------------------------------
.git/
.gitignore
.gitattributes
.gitmodules
#----------------------------------------------------------------------
# 3. Python build artifacts and caches
#----------------------------------------------------------------------
# Byte-compiled files
__pycache__/
*.py[cod]
*.pyc
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.wily/
# PyInstaller
*.manifest
*.spec
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
.pytype/
# Cython debug symbols
cython_debug/
#----------------------------------------------------------------------
# 4. Virtual environments
#----------------------------------------------------------------------
.env
.venv
.venv/
**/.venv
**/.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
.python37/
.python39/
.python-version
# PDM
pdm.lock
.pdm.toml
.pdm-python
# uv
uv.lock
**/uv.lock
#----------------------------------------------------------------------
# 5. Package managers and dependencies
#----------------------------------------------------------------------
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm
.yarn
# pip
pip-log.txt
pip-delete-this-directory.txt
#----------------------------------------------------------------------
# 6. Docker and container files (avoid recursive copies)
#----------------------------------------------------------------------
Dockerfile
Dockerfile.*
Containerfile
Containerfile.*
docker-compose.yml
docker-compose.*.yml
podman-compose*.yaml
.dockerignore
#----------------------------------------------------------------------
# 7. IDE and editor files
#----------------------------------------------------------------------
# JetBrains
.idea/
*.iml
*.iws
*.ipr
# VSCode
.vscode/
*.code-workspace
# Vim
*.swp
*.swo
*~
# Emacs
*~
\#*\#
.\#*
# macOS
.DS_Store
.AppleDouble
.LSOverride
#----------------------------------------------------------------------
# 8. Build tools and CI/CD configurations
#----------------------------------------------------------------------
# Testing configurations
.coveragerc
.pylintrc
.flake8
pytest.ini
tox.ini
.pytest.ini
# Linting and formatting
.hadolint.yaml
.pre-commit-config.yaml
.pycodestyle
.pyre_configuration
.pyspelling.yaml
.ruff.toml
.shellcheckrc
# Build configurations
Makefile
setup.cfg
pyproject.toml.bak
MANIFEST.in
# CI/CD
.travis.*
.gitlab-ci.yml
.circleci/
.github/
azure-pipelines.yml
Jenkinsfile
# Code quality
sonar-code.properties
sonar-project.properties
.scannerwork/
whitesource.config
.whitesource
# Other tools
.bumpversion.cfg
.editorconfig
mypy.ini
#----------------------------------------------------------------------
# 9. Application runtime files (should not be in image)
#----------------------------------------------------------------------
# Databases
*.db
*.sqlite
*.sqlite3
mcp.db
db.sqlite3
# Explicit database file patterns in application directories
mcpgateway/*.db
mcpgateway/*.sqlite
mcpgateway/*.sqlite3
mcpgateway/mcp.db
mcpgateway/test_migration.db
# Logs
*.log
logs/
log/
# Certificates and secrets
certs/
jwt/
*.pem
*.key
*.crt
*.csr
.env
.env.*
# Generated files
public/
static/
media/
# Application instances
instance/
local_settings.py
#----------------------------------------------------------------------
# 10. Framework-specific files
#----------------------------------------------------------------------
# Django
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
media/
# Flask
instance/
.webassets-cache
# Scrapy
.scrapy
# Sphinx documentation
docs/_build/
docs/build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
*.ipynb
# IPython
profile_default/
ipython_config.py
# celery
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
#----------------------------------------------------------------------
# 11. Backup and temporary files
#----------------------------------------------------------------------
*.bak
*.backup
*.tmp
*.temp
*.orig
*.rej
.backup/
backup/
tmp/
temp/
#----------------------------------------------------------------------
# 12. Documentation and miscellaneous
#----------------------------------------------------------------------
*.md
!README.md
# Application configuration files (explicitly include)
!mcp-catalog.yml
LICENSE
CHANGELOG
AUTHORS
CONTRIBUTORS
TODO
TODO.md
DEVELOPING.md
CONTRIBUTING.md
# Spelling
.spellcheck-en.txt
*.dic
# Shell scripts (if not needed in container)
test.sh
scripts/test/
scripts/dev/
#----------------------------------------------------------------------
# 13. OS-specific files
#----------------------------------------------------------------------
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
#----------------------------------------------------------------------
# End of .dockerignore
#----------------------------------------------------------------------