From ffe5bbca9160d4dd53241cd52ca75ad15d30bde4 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Tue, 20 Apr 2021 07:32:24 +0530 Subject: [PATCH] fix: do not install frappe during app install --- build/common/worker/install_app.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/common/worker/install_app.sh b/build/common/worker/install_app.sh index ceb8d3bd..17ed4f3b 100755 --- a/build/common/worker/install_app.sh +++ b/build/common/worker/install_app.sh @@ -13,4 +13,10 @@ cd ./apps [ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}" git clone --depth 1 -o upstream ${APP_REPO} ${BRANCH} ${APP_NAME} -pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/${APP_NAME} \ No newline at end of file + +# Do not install frappe +sed -i '/frappe/d' ${APP_NAME}/requirements.txt + +pip3 install --no-cache-dir -e /home/frappe/frappe-bench/apps/${APP_NAME} + +cd ${APP_NAME} && git checkout .