How to Customize ERPNext Source Code and Build My Own Docker Images for Deployment

Hi,

I want to customize the ERPNext source code, run it locally on Windows, and later build my own Docker images for deployment.

Right now, I can run ERPNext using the default pwd.yml file, but it only pulls prebuilt images from Docker Hub. I need a setup where I can:

  1. Use the cloned ERPNext repo for local development.
  2. Test changes on my local machine.
  3. Build and host custom Docker images with my modified code.

Can someone guide me on the correct way to run ERPNext locally without using the default prebuilt images?

Thanks!

Check how apps.json is used to build image frappe_docker/docs/custom-apps.md at main · frappe/frappe_docker · GitHub. Use your forks and branches in it.

For custom frappe use build args FRAPPE_PATH to point to your frappe fork and FRAPPE_BRANCH to set branch.

The Link is not working now!!

Refer main README. GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

moved here frappe_docker/docs/container-setup/02-build-setup.md at main · frappe/frappe_docker · GitHub