NarratoAI/.dockerignore
linyq ced37047aa refactor(docker): 优化docker配置和部署脚本
重构Docker相关配置,包括:
- 更新.dockerignore文件,增加更多忽略规则
- 优化requirements.txt依赖管理
- 新增Makefile提供常用命令
- 重构docker-compose.yml配置
- 增强docker-entrypoint.sh功能
- 改进Dockerfile多阶段构建
- 新增docker-deploy.sh一键部署脚本
2025-08-16 01:52:28 +08:00

100 lines
1002 B
Plaintext

# Git 相关
.git/
.gitignore
.gitattributes
.svn/
# Python 相关
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# 虚拟环境
.env
.env.*
.venv
venv/
ENV/
env.bak/
venv.bak/
# IDE 相关
.vscode/
.idea/
*.swp
*.swo
*~
# 操作系统相关
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# 日志和数据库文件
*.log
*.db
logs/
# 临时文件
*.tmp
*.temp
temp/
tmp/
# 存储目录(运行时生成的内容)
storage/temp/
storage/tasks/
storage/demo.py
# 缓存目录
.cache/
.pytest_cache/
# 文档(保留必要的)
docs/
*.md
!README.md
# Docker 相关文件(避免递归复制)
Dockerfile.*
docker-compose.*.yml
# 配置文件(使用示例配置)
config.toml
# 资源文件中的大文件
resource/videos/
resource/songs/
# 测试文件
tests/
test_*
*_test.py
# 其他不必要的文件
*.bak
*.orig
*.rej