Try ERPNext Buy Support Partners Foundation

Docker installation Enable development mode

I want to make few modification for few doctypes and I found out that I can’t do that unless development mode is enabled, how can I do that in the docker installation?
these are the docker I have:

erpnext_erpnext-worker-default_1
erpnext_erpnext-worker-long_1
erpnext_erpnext-worker-short_1
erpnext_erpnext-schedule_1
erpnext_frappe-socketio_1
erpnext_erpnext-nginx_1
erpnext_erpnext-python_1
erpnext_mariadb_1
erpnext_redis-socketio_1
erpnext_traefik_1
erpnext_redis-cache_1
erpnext_redis-queue_1

Development mode cannot be enabled in production images.

Use development image frappe/bench:latest to setup development environment https://github.com/frappe/frappe_docker/blob/develop/development

To build images with custom app refer https://github.com/frappe/frappe_docker/blob/develop/docs/custom-apps-for-production.md

Documentation is contributed by community.

Thanks @revant_one for trying to help me.
Is there any other way to edit permission for doctype other than enabling development mode?
I just want to prevent users to edit their crucial data like usernames, first and last name etc…

Ok, I had no other choice but to deal with it in client-side by using custom script.
its hacky and not failproof at all, but its one way, here it

frappe.ui.form.on('User', {
	refresh(frm) {
		if(!frappe.user.has_role('System Manager')){
		    //document.querySelector('[data-label="Save"]').parentNode.setAttribute('disabled', 'true')
		    document.querySelector('[data-label="Save"]').parentNode.remove()
		}
	}
})

I myself removed the button, but you can just disable it using the commented line and comment/delete the line after it