Use erpnext in custom app tutorial

This commit is contained in:
Lev Vereshchagin 2022-03-19 11:00:28 +03:00
parent 1c8f93796b
commit 3e33fdf647

View file

@ -1,8 +1,8 @@
ARG FRAPPE_VERSION
FROM frappe/frappe-worker:${FRAPPE_VERSION}
FROM frappe/erpnext-worker:${FRAPPE_VERSION}
ARG APP_NAME
COPY --chown=frappe . ../apps/${APP_NAME}
RUN echo "frappe\n${APP_NAME}" >/home/frappe/frappe-bench/sites/apps.txt \
RUN echo "frappe\nerpnext\n${APP_NAME}" >/home/frappe/frappe-bench/sites/apps.txt \
&& ../env/bin/pip install --no-cache-dir -e ../apps/${APP_NAME}