docker: add Dockerfile + requirements + .dockerignore for containerized deployment

This commit is contained in:
cnbug
2026-08-06 18:52:35 +08:00
parent 6f4d071bf3
commit 0b2ab34ac2
3 changed files with 103 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.egg-info/
.venv/
venv/
# Git & CI
.git/
.gitignore
# Flask instance (SQLite + uploads) — 运行时生成,不进镜像
instance/
*.sqlite
*.sqlite3
*.db
# 交付物 & 生成测试脚本(非源码)
deliverables/
*.sh
/tmp/
# 构建中间产物
Dockerfile
.dockerignore