签入版本

This commit is contained in:
2026-09-12 19:12:04 +08:00
parent 4eae62bc17
commit a4a0813a3a
49 changed files with 98 additions and 1 deletions
+98
View File
@@ -0,0 +1,98 @@
# ============================================================
# .dockerignore —— 排除不需要进入构建上下文的文件
# 位置:项目根目录,与 manage.py 同级
# ============================================================
# ------------------------------------------------------------
# 版本控制(避免 .git 进镜像,省体积、防泄露)
# ------------------------------------------------------------
.git
.gitignore
.gitattributes
.gitmodules
# ------------------------------------------------------------
# Python 缓存与编译产物
# ------------------------------------------------------------
__pycache__
*.pyc
*.pyo
*.pyd
*.py[cod]
*$py.class
.pytest_cache
.mypy_cache
.ruff_cache
.coverage
.coverage.*
htmlcov
.tox
.nox
# ------------------------------------------------------------
# 虚拟环境
# ------------------------------------------------------------
venv
.venv
env
ENV
virtualenv
# ------------------------------------------------------------
# Python 打包产物
# ------------------------------------------------------------
build
dist
*.egg-info
*.egg
.eggs
pip-wheel-metadata
# ------------------------------------------------------------
# 前端依赖与构建产物
# ------------------------------------------------------------
node_modules
npm-debug.log
yarn-error.log
pnpm-debug.log
.ui-build
# ------------------------------------------------------------
# 日志与本地数据库
# ------------------------------------------------------------
*.log
logs
*.sqlite3
*.db
*.sql.gz
# ------------------------------------------------------------
# 编辑器与 IDE
# ------------------------------------------------------------
.DS_Store
Thumbs.db
.idea
.vscode
*.swp
*.swo
*~
# ------------------------------------------------------------
# CI / 部署配置(保留 .jenkins/Dockerfile)
# ------------------------------------------------------------
.jenkins/*
!.jenkins/Dockerfile
jenkins
*.jenkins
# ------------------------------------------------------------
# 项目自定义排除
# ------------------------------------------------------------
# 前端 UI 目录(按需排除,如不需要可删)
/ui
/uploads
# 文档与说明(按需保留)
# README.md
# docs
# *.md