From 0f03713e5c8e6bdd76066f5900e91375874b02d6 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sat, 7 Mar 2020 16:45:53 +0530 Subject: [PATCH] fix: erpnext nginx image install_app script --- build/erpnext-nginx/install_app.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/erpnext-nginx/install_app.sh b/build/erpnext-nginx/install_app.sh index 54e7e176..65a1af6f 100755 --- a/build/erpnext-nginx/install_app.sh +++ b/build/erpnext-nginx/install_app.sh @@ -8,7 +8,7 @@ APP_BRANCH=${3} mkdir -p /home/frappe/frappe-bench/sites/assets cd /home/frappe/frappe-bench -echo "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt +echo -e "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt install_packages git python2 @@ -19,7 +19,7 @@ git clone --depth 1 ${APP_REPO} ${BRANCH} cd /home/frappe/frappe-bench/apps/frappe yarn -yarn production +yarn production rm -fr node_modules yarn install --production=true