From e5a5a05dfbd83cd63e168da47237702080089e52 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sat, 7 Mar 2020 15:47:50 +0530 Subject: [PATCH] fix: erpnext nginx image build --- build/erpnext-nginx/install_app.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 build/erpnext-nginx/install_app.sh diff --git a/build/erpnext-nginx/install_app.sh b/build/erpnext-nginx/install_app.sh old mode 100644 new mode 100755 index a01e957b..54e7e176 --- a/build/erpnext-nginx/install_app.sh +++ b/build/erpnext-nginx/install_app.sh @@ -6,13 +6,13 @@ APP_BRANCH=${3} [ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}" +mkdir -p /home/frappe/frappe-bench/sites/assets cd /home/frappe/frappe-bench -mkdir -p /home/frappe/frappe-bench/sites echo "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt install_packages git python2 -mkdir -p apps sites/assets +mkdir -p apps cd apps git clone --depth 1 https://github.com/frappe/frappe ${BRANCH} git clone --depth 1 ${APP_REPO} ${BRANCH}