Need advice on docker

hello

was wondering if theres a guide on how to install erpnext using docker and how to add third party apps to it and also make some small edit to the codes inside
how do i update erpnext frappe in a docker?
im running debian

It’s best to read through the Frappe Docker documentation, which also includes examples of how to add third-party apps. It also includes extras such as adding TLS via reverse proxy.

docs/02-setup/02-build-setup.md is exactly what you need to get started for your third-party apps

What really helped me understanding

  1. Docker for Production Images and Development is different
  2. On a Production Docker Images you CANNOT install custom app (at-least not easily)
  3. So if you want to install custom app in Docker follow Development instructions
  4. If you want to version control your application and want to use it in a manner where you can pull/push your changes clone your app into `apps` directory within frappe_docker/development/frappe-bench directory
  5. You then need to shell into the container and do `bench –sitename development.localhost install-app <my_custom_app_name>`

If you want one-click easy install scripts rather than learn docker commands use: -

A) For evaluation only - GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

B) For multi-site & multi-app production (bench get-app and bench build will not work due to image being immutable and volumes non-persistent) - Creating new custom app in the dockerized instance is not possible · Issue #1640 · frappe/frappe_docker · GitHub

C) For full developer customizations (especially bench build) - GitHub - rtCamp/Frappe-Manager: A CLI tool based on Docker Compose to easily manage Frappe based projects.

1 Like