<feat> 添加 Docker 支持,包含 Dockerfile 和 .dockerignore 文件,更新 README 以说明 Docker 部署方法,更新依赖版本以支持 Python 3.12.3 及以上版本

This commit is contained in:
tangyi
2025-05-09 18:28:02 +08:00
parent d2965fd21c
commit e1f26abb99
5 changed files with 153 additions and 7 deletions

32
.dockerignore Normal file
View File

@ -0,0 +1,32 @@
# 操作系统和编辑器临时文件
__MACOSX
.DS_Store
*.code-workspace
.vscode
.idea
.history
.cursorrules
.cursor
# Python 缓存和测试
**/__pycache__/
__pycache__/
*.pyc
*.pyo
*.pyd
*.swp
.pytest_cache/
.coverage
# Node/Vendor/依赖
node_modules/
vendor/
requirements-dev.txt
# 版本控制和文档
.git
docs/
tests/
# 环境变量
.env