Multi-Stage Build

Multi-Stage builds are useful when one stage is used for compilation and the resulting binary is then copied to a lightweight, final environment. This approach allows for a more streamlined image that doesn’t include any of the development stack components.