2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 14:50:58 +00:00

fix: erpnext nginx image build

This commit is contained in:
Revant Nandgaonkar 2020-03-07 15:47:50 +05:30
parent b0a874df61
commit e5a5a05dfb

4
build/erpnext-nginx/install_app.sh Normal file → Executable file
View File

@ -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}