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:
parent
b0a874df61
commit
e5a5a05dfb
4
build/erpnext-nginx/install_app.sh
Normal file → Executable file
4
build/erpnext-nginx/install_app.sh
Normal file → Executable 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}
|
||||
|
Loading…
Reference in New Issue
Block a user