A use case for multi-stage builds

Upon revisiting one of my past projects, I attempted to build the docker image I once prepared but encountered a failure: