Optimize Docker Build Cache

Optimize Docker build times using layer caching, multi-stage builds, BuildKit features, dependency-first copy patterns. Applicable to R, Node.js, Python projects. Use when Docker builds slow due to repeated package installations, when rebuilds reinstall all deps on every code change, when image sizes unnecessarily large, or when CI/CD pipeline builds are bottleneck.

pjt222 Updated 44 repo stars

File contents

pjt222/agent-almanac commit f7129d5285

Frequently asked questions

npx get-skill add pjt222/optimize-docker-build-cache-6