Files
dpb/.dockerignore
T
34047007@qq.com b95053c52c init: 初始化 dpb 桃育种系统代码库
前后端 + 后端 FastAPI 全量源码、部署脚本与文档。
2026-08-06 00:17:49 +08:00

61 lines
932 B
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.
# ============================================
# FastapiAdmin .dockerignore
# 用于优化 Docker 构建上下文,提升构建速度
# ============================================
# Python 缓存
__pycache__
*.pyc
*.pyo
*.pyd
.pytest_cache
.mypy_cache
.ruff_cache
# 虚拟环境
venv
.venv
# 环境变量(含 .env.dev 的真实 SMTP 密码 / DEV_DEFAULT_PASSWORD 等,一律不进镜像;
# 生产配置统一由 docker-compose 经环境变量注入,见 docker/.env
.env
backend/env
# 编辑器/IDE
.vscode
.idea
*.swp
*.swo
# 操作系统
.DS_Store
Thumbs.db
# 版本控制
.git
.gitignore
.gitattributes
# 日志
logs
*.log
# 数据库
*.db
*.sqlite3
# 前端工程(后端镜像不需要)
frontend
# 部署脚本
deploy.sh
deploy.bat
# 文档
README.md
README.en.md
LICENSE
# 数据库迁移(构建镜像时不包含,启动时动态执行)
# 取消注释以加速构建:backend/alembic/versions