chore: improve .dockerignore with Python and common patterns (#6092)

Co-authored-by: 欧阳 <archer@ouyangdeMac-mini.local>
This commit is contained in:
zer0 spirits
2026-06-05 07:53:42 +08:00
committed by GitHub
parent b434f8c3e0
commit eb43a5b5d8

View File

@ -3,6 +3,21 @@
.gitignore
.gitmodules
# Python
__pycache__
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
# Virtual environments
venv/
env/
ENV/
# Dependencies
node_modules
**/node_modules
@ -24,7 +39,20 @@ ui-tui/packages/hermes-ink/dist/
# Environment files
.env
.env.*
# IDE
.vscode/
.idea/
*.swp
*.swo
# Testing
.pytest_cache/
.coverage
htmlcov/
# Documentation
*.md
# Runtime data (bind-mounted at /opt/data; must not leak into build context)