Diasable ucp by default

how to diable ucp by default , i want to create dockerfile and i want by default ucp and usermanagement be disable

You can disable ucp by adding users to a group with no ucp access / permission. See answer in the link below