Commit Graph

5 Commits

Author SHA1 Message Date
liuyuanchuang
6579cf55f5 feat: optimize Docker image with multi-stage build
- Use multi-stage build to exclude build dependencies from final image
- Separate builder stage using devel image from runtime stage using smaller base image
- Clean venv: remove __pycache__, .pyc files, and test directories
- Remove embedded model files (243MB) from app/model/ - mount at runtime instead
- Expected size reduction: 18.9GB → 2-3GB (80-90% reduction)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-10 10:41:32 +08:00
liuyuanchuang
2a962a6271 feat: update dockerfile 2026-02-07 09:40:34 +08:00
liuyuanchuang
c372a4afbe fix: update port in dockerfile 2026-02-05 22:20:01 +08:00
35928c2484 fix: refact logic 2025-12-31 17:38:32 +08:00
liuyuanchuang
874fd383cc init repo 2025-12-29 17:34:58 +08:00