The provided dockerfile is not multistage. Have you tried using docker or are you just guessing?
docker