2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 10:38:58 +00:00

Merge pull request #127 from revant/fix-image-builds

fix: erpnext nginx image install_app script
This commit is contained in:
Revant Nandgaonkar 2020-03-07 16:47:54 +05:30 committed by GitHub
commit 9cf13ef3c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ APP_BRANCH=${3}
mkdir -p /home/frappe/frappe-bench/sites/assets
cd /home/frappe/frappe-bench
echo "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt
echo -e "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt
install_packages git python2
@ -19,7 +19,7 @@ git clone --depth 1 ${APP_REPO} ${BRANCH}
cd /home/frappe/frappe-bench/apps/frappe
yarn
yarn production
yarn production
rm -fr node_modules
yarn install --production=true