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:
commit
9cf13ef3c6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user