mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
Merge pull request #126 from revant/fix-image-builds
fix: erpnext nginx image build
This commit is contained in:
commit
5077c6b048
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