Docker Multi-stage Builds
Multi-stage builds allow you to use multiple FROM statements in your Dockerfile. You can use one stage for building the application (with all dependencies) and copy only the final artifact to a smaller production image, reducing the final image size significantly.