2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-14 17:14:05 +00:00
frappe_docker/docs/patch-code-from-images.md

11 lines
420 B
Markdown
Raw Normal View History

2022-01-10 08:40:25 +00:00
Example: https://discuss.erpnext.com/t/sms-two-factor-authentication-otp-msg-change/47835
Above example needs following Dockerfile based patch
```Dockerfile
FROM frappe/erpnext-worker:v12.17.0
RUN install_app custom_app https://github.com/username/custom_app version-12
RUN sed -i -e "s/Your verification code is/আপনার লগইন কোড/g" /home/frappe/frappe-bench/apps/frappe/frappe/twofactor.py
```