feat: add Docker deployment support

Add Dockerfile (python:3.11-slim), docker-compose.yml with volume mounts for webui/data/logs, and .dockerignore for minimal image size.

Made-with: Cursor
This commit is contained in:
祀梦
2026-03-16 15:06:24 +08:00
parent 2979197b1c
commit 473b9052b0
4 changed files with 83 additions and 14 deletions

32
.dockerignore Normal file
View File

@@ -0,0 +1,32 @@
# Frontend source (not needed for Docker, only pre-built assets)
WebUI/
tests/
*.md
.git/
.gitignore
.vscode/
.idea/
# Python bytecode
__pycache__/
*.py[cod]
# Virtual environment
venv/
.env/
.env.*
# Runtime data (mounted via volumes)
api/data/
api/logs/
# Node
node_modules/
# OS
.DS_Store
Thumbs.db
# Temporary files
*.tmp
*.bak