mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-14 09:04:06 +00:00
11 lines
430 B
Markdown
11 lines
430 B
Markdown
|
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 /home/frappe/frappe-bench/env/bin/pip -e /home/frappe/frappe-bench/apps/custom_app
|
||
|
RUN sed -i -e "s/Your verification code is/আপনার লগইন কোড/g" /home/frappe/frappe-bench/apps/frappe/frappe/twofactor.py
|
||
|
```
|