mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 15:25:09 +00:00
fix: erpnext nginx image build
This commit is contained in:
parent
b0a874df61
commit
e5a5a05dfb
1 changed files with 2 additions and 2 deletions
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}"
|
[ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}"
|
||||||
|
|
||||||
|
mkdir -p /home/frappe/frappe-bench/sites/assets
|
||||||
cd /home/frappe/frappe-bench
|
cd /home/frappe/frappe-bench
|
||||||
mkdir -p /home/frappe/frappe-bench/sites
|
|
||||||
echo "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt
|
echo "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt
|
||||||
|
|
||||||
install_packages git python2
|
install_packages git python2
|
||||||
|
|
||||||
mkdir -p apps sites/assets
|
mkdir -p apps
|
||||||
cd apps
|
cd apps
|
||||||
git clone --depth 1 https://github.com/frappe/frappe ${BRANCH}
|
git clone --depth 1 https://github.com/frappe/frappe ${BRANCH}
|
||||||
git clone --depth 1 ${APP_REPO} ${BRANCH}
|
git clone --depth 1 ${APP_REPO} ${BRANCH}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue