🚀 Docker Build Optimization
Performance Improvements
- Build times reduced from 35s → 1s for cached builds (35x faster)
- Image size reduced from 590MB → 405MB (31% smaller)
- Docker context reduced from 200MB+ → 75KB transfer
Technical Changes
- BuildKit cache mounts for npm and Vite caches
- Optimized layer ordering with package files copied before source code
- Production dependencies only using --omit=dev
CI/CD Enhancements
- GitHub Actions caching with scoped BuildKit cache
- Security metadata preserved (provenance/SBOM enabled)
- License compliance with LICENSE and README.md included
📊 Impact Summary
- 3 files changed: .dockerignore (new), dockerfile (optimized), CI workflow (enhanced)
- 35x faster incremental builds
- 31% smaller production images
- Maintained multi-arch support and security standards
Changes
- feat: optimize docker build flow (#417) @jamcalli
- Feature/docker build improvements (#415) @jamcalli
Docker
docker pull lakker/pulsarr:0.4.15