docker build --squash -t myapp:squashed .
Category: Docker
Squash all layers into one after build (reduces image size)