Deployment on frappe cloud issue

when deploying a custom app in frappe cloud the frappe framework doubles. is there a way to fix this?