Lev f86b389466
Simplify Dockerfiles and custom app guide (#714)
* Add assets builder image

* Use assets builder in custom_app tutorial

* Use erpnext in custom app tutorial

* Add info about base images (frappe or erpnext)

* Add assets-builder image to frappe group so it is built in CI

* Update backend image:
- Fix mounted caching
- Uncomplicate ERPNext build
- Fix root-frappe permissions

* Add build-assets script for simpler frontend build

* Add install-app script for backend build

* Rename build-assets to install-app for frontend build

* Update custom app builds according to new main dockerfiles

* Cache pip packages in custom app example backend dockerfile

* Update custom app guide

* Fix typo in backend dockerfile

* Add info about install-app scripts in readme
2022-03-23 11:43:47 +03:00
2021-12-10 11:53:43 +03:00
2022-03-14 11:23:03 +05:30
2022-03-14 11:23:03 +05:30
2022-03-14 11:23:03 +05:30
2021-12-10 11:53:43 +03:00
2021-12-10 11:53:43 +03:00
2022-03-21 05:31:45 +00:00
2022-03-14 11:23:03 +05:30
2022-03-14 11:23:03 +05:30
2022-03-14 11:23:03 +05:30

Build Stable Build Develop

Everything about Frappe and ERPNext in containers.

Getting Started

To get started, you need Docker, docker-compose and git setup on your machine. For Docker basics and best practices. Refer Docker documentation. After that, clone this repo:

git clone https://github.com/frappe/frappe_docker
cd frappe_docker

Development

We have baseline for developing in VSCode devcontainer with frappe/bench. Start development.

Production

We provide simple and intuitive production setup with prebuilt Frappe and ERPNext images and compose files. To learn more about those, read the docs.

Also, there's docs to help with deployment:

Custom app

Learn how to containerize your custom Frappe app in this guide.

Contributing

If you want to contribute to this repo refer to CONTRIBUTING.md

This repository is only for Docker related stuff. You also might want to contribute to:

Description
Docker images for production and development setups of the Frappe framework and ERPNext
Readme MIT 108 MiB
Languages
Python 59.6%
Dockerfile 26.7%
Shell 9.8%
HCL 3.9%