The docker file downloads "latest" from node repository. This can change overtime, but the hash won't change. This means that your outcome will be dependent on the state of your cache and when you run the command. The node version would ideally be included in that RUN command.