feat: add Docker support for containerized deployment

This commit is contained in:
赵杰 Jie Zhao (雄狮汽车科技)
2025-11-02 23:55:54 +08:00
parent cad03268f3
commit 2ab6aafc6f
6 changed files with 424 additions and 0 deletions

64
.dockerignore Normal file
View File

@@ -0,0 +1,64 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg-info/
dist/
build/
*.egg
# 虚拟环境
venv/
env/
ENV/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# 日志文件
*.log
logs/*.log
# 数据库文件会通过volume挂载
data/*.db
data/*.pkl
# Git
.git/
.gitignore
# Docker
Dockerfile
docker-compose.yml
.dockerignore
# 文档
*.md
!README.md
# 测试文件
test_*.py
*_test.py
# 临时文件
*.tmp
*.bak
.DS_Store
Thumbs.db
# 环境配置(敏感信息)
.env
.env.local
# 模型文件会通过volume挂载
models/*.pkl
# PDF和其他大文件
*.pdf