feat(Dockerfile): multi-stage build to reduce image size from 852MB to ~200MB #15
Reference in New Issue
Block a user
Delete Branch "multi-stage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stage 1 (builder): install build deps and pre-download wheels
Stage 2 (runtime): copy only installed packages + runtime deps, no build tools