2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
Docker images for production and development setups of the Frappe framework and ERPNext
Go to file
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
.github chore(deps): bump actions/cache from 2 to 3 (#723) 2022-03-23 11:09:07 +03:00
.vscode chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
custom_app Simplify Dockerfiles and custom app guide (#714) 2022-03-23 11:43:47 +03:00
devcontainer-example update to VS Code version 1.64.2 (#675) 2022-03-15 08:38:06 +03:00
development Global refactoring (#617) 2022-03-14 11:23:03 +05:30
docs Update docs to advise for docker-compose v2 (#712) 2022-03-19 11:03:11 +05:30
images Simplify Dockerfiles and custom app guide (#714) 2022-03-23 11:43:47 +03:00
overrides Move Traefik config to appropriate override (#698) 2022-03-15 05:06:46 +05:30
tests fix: link frappe node_modules to make Website Theme work (#702) 2022-03-16 13:39:16 +03:00
.dockerignore Global refactoring (#617) 2022-03-14 11:23:03 +05:30
.editorconfig chore: Use pre-commit framework (#604) 2021-12-10 11:48:00 +03:00
.gitignore Global refactoring (#617) 2022-03-14 11:23:03 +05:30
.pre-commit-config.yaml chore(deps): Update pre-commit hooks (#708) 2022-03-17 10:22:40 +03:00
.shellcheckrc chore(lint): Take hooks configs out so linting works without pre-commit too (#609) 2021-12-10 12:31:44 +03:00
CODE_OF_CONDUCT.md chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
compose.yaml Move Traefik config to appropriate override (#698) 2022-03-15 05:06:46 +05:30
CONTRIBUTING.md chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
docker-bake.hcl Simplify Dockerfiles and custom app guide (#714) 2022-03-23 11:43:47 +03:00
example.env chore: Update example.env 2022-03-21 05:31:45 +00:00
LICENSE chore: Rename LICENSE.md to LICENSE (#608) 2021-12-10 16:25:57 +05:30
README.md Global refactoring (#617) 2022-03-14 11:23:03 +05:30
requirements-dev.txt Global refactoring (#617) 2022-03-14 11:23:03 +05:30
setup.cfg Global refactoring (#617) 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: