ERPNext Docker Installation for production

There is any any proper reference to setup docker container for production…
I have tried many but not single one working properly
Please help me to setup docker erpnext container

check if this works https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md

1 Like

Yeah Its working Thanks for quick response.
Need to install custom_app inside this container how to do this

guide: frappe_docker/README.md at main · frappe/frappe_docker · GitHub

example: GitHub - castlecraft/custom_frappe_docker

1 Like

This is not working properly - Can you please assist me what can actually do with this is so confusing.
There is any way to get into bench directory and could run bench get-app command.

you can’t use bench get-app in production images.
you need to build images with your app and use those images.

I can’t help any more than the docs: frappe_docker/README.md at main · frappe/frappe_docker · GitHub or example: GitHub - castlecraft/custom_frappe_docker

somehow it ONLY works for me. It built the images here Packages · castlecraft · GitHub. I can’t help any further.

Hello, you said you can’t bench get-app in production images.
Can we enable developer mode in this after docker exec in the container and then set set developer_mode : 1 in site_config.json and then try to bench get-app.

Can we do then?

Not possible. You need to build custom image or use development setup somehow to serve everything. Frappe Docker development bench in production · GitHub