It was being added to the wrong stage in the dockerfile. This should fix it, and resolves an ongoing issue on staging.