feat(Dockerfile): multi-stage build to reduce image size from 852MB to ~200MB #15

Merged
hzhang merged 2 commits from multi-stage into main 2026-04-16 21:23:05 +00:00
Contributor

Stage 1 (builder): install build deps and pre-download wheels
Stage 2 (runtime): copy only installed packages + runtime deps, no build tools

Stage 1 (builder): install build deps and pre-download wheels Stage 2 (runtime): copy only installed packages + runtime deps, no build tools
hzhang added 1 commit 2026-04-16 21:22:48 +00:00
Stage 1 (builder): install build deps and pre-download wheels
Stage 2 (runtime): copy only installed packages + runtime deps, no build tools
hzhang added 1 commit 2026-04-16 21:22:56 +00:00
hzhang merged commit eae947d9b6 into main 2026-04-16 21:23:05 +00:00
hzhang deleted branch multi-stage 2026-04-16 21:23:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zhi/HarborForge.Backend#15