How to perform erpnext update a specific version in docker?

What I have tried

$ docker compose --project-name erpnext-p11 exec backend bench update --no-backup

But this make my site lose all the styles and js , it is like wrong part of those file.

Could you please help to recommend me the right ways to update the version my ERPNext running container (customer_app)?

Thanks
Tree EM

@treeem , updating erpnext in docker is done by updating the docker images, not using bench. See frappe_docker/setup-options.md at main · frappe/frappe_docker · GitHub

If you have a custom app, then you also have to build a custom image. So you would have to build a new custom image each time you want to update erpnext. frappe_docker/custom-apps.md at main · frappe/frappe_docker · GitHub

1 Like