feat: add Docker support for containerized deployment
This commit is contained in:
64
.dockerignore
Normal file
64
.dockerignore
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user