Multi-stage builds allow for optimising Dockerfiles while keeping them easy to read and maintain. Check out [Docker docs on it](https://docs.docker.com/develop/develop-images/multistage-build/). See also [this](https://dev.to/rschuetzler/comment/fgo1) on the specific case of create-react-app.
Multi-stage builds allow for optimising Dockerfiles while keeping them easy to read and maintain. Check out Docker docs on it.
See also this on the specific case of create-react-app.