Optimise a Dockerfile for layer caching
Small code changes force slow, full Docker image rebuilds.
- Posted by
- @DanielLockyer
- Added
- Scope
- Performance · runs in a repo
- 299likes
- 7replies
- 12shares
- 13.9Kviews
prompt
Review my Dockerfile and optimise it for layer caching. Minimise invalidation so small changes don't force full rebuilds.
verified·fix it on github