mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-11 09:35:12 +00:00
Merge pull request #127 from revant/fix-image-builds
fix: erpnext nginx image install_app script
This commit is contained in:
commit
9cf13ef3c6
@ -8,7 +8,7 @@ APP_BRANCH=${3}
|
|||||||
|
|
||||||
mkdir -p /home/frappe/frappe-bench/sites/assets
|
mkdir -p /home/frappe/frappe-bench/sites/assets
|
||||||
cd /home/frappe/frappe-bench
|
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
|
install_packages git python2
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ git clone --depth 1 ${APP_REPO} ${BRANCH}
|
|||||||
|
|
||||||
cd /home/frappe/frappe-bench/apps/frappe
|
cd /home/frappe/frappe-bench/apps/frappe
|
||||||
yarn
|
yarn
|
||||||
yarn production
|
yarn production
|
||||||
rm -fr node_modules
|
rm -fr node_modules
|
||||||
yarn install --production=true
|
yarn install --production=true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user