Files
hunjing/.dockerignore
T
2026-08-21 16:00:13 +08:00

83 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ==============================
# Docker 构建忽略清单
# build context 为项目根(docker-compose.yml 中 context: ..),
# 本文件同时影响 backend 与 frontend 镜像构建。
# ==============================
# ----- 版本控制 -----
.git/
.gitignore
.gitattributes
# ----- Python / 后端 -----
backend/.venv/
backend/**/__pycache__/
backend/**/*.py[cod]
backend/.pytest_cache/
backend/.mypy_cache/
backend/.ruff_cache/
backend/.coverage
backend/coverage.xml
backend/htmlcov/
backend/dist/
backend/build/
backend/*.egg-info/
# ----- Node / 前端 -----
frontend/node_modules/
frontend/.pnpm-store/
frontend/.next/
frontend/out/
frontend/.vercel/
frontend/.turbo/
frontend/*.tsbuildinfo
frontend/.eslintcache
frontend/npm-debug.log*
frontend/pnpm-debug.log*
# ----- 运行时数据与本地存储(禁止进镜像) -----
db/*.sqlite
db/*.sqlite3
db/*.db
db/*.db-shm
db/*.db-wal
db/chroma/
storage/
uploads/
media/
objects/
logs/
*.log
*.pid
# ----- Rust / 安全沙箱 -----
sandbox/target/
sandbox/sandbox-work/
**/*.rs.bk
# ----- Docker 本地覆盖 -----
docker/*.local.yml
docker-compose.override.yml
# ----- 配置密钥(只允许 .example) -----
.env
.env.*
!.env.example
config/models.yaml
frontend/.env.local
# ----- IDE / OS -----
.vscode/
.idea/
.DS_Store
Thumbs.db
# ----- AI / 工具缓存 -----
.claude/cache/
.claude/tmp/
# ----- 文档(镜像运行不需要) -----
docs/
README.md
**/CLAUDE.md