Revert "feat: make images arm64 compatible"

This commit is contained in:
Revant Nandgaonkar
2021-01-07 19:44:40 +05:30
committed by GitHub
parent 3057162de8
commit 77b9eda567
9 changed files with 188 additions and 262 deletions

View File

@@ -10,6 +10,8 @@ mkdir -p /home/frappe/frappe-bench/sites/assets
cd /home/frappe/frappe-bench
echo -e "frappe\n${APP_NAME}" > /home/frappe/frappe-bench/sites/apps.txt
install_packages git python2
mkdir -p apps
cd apps
git clone --depth 1 https://github.com/frappe/frappe ${BRANCH}
@@ -18,6 +20,7 @@ git clone --depth 1 ${APP_REPO} ${BRANCH} ${APP_NAME}
cd /home/frappe/frappe-bench/apps/frappe
yarn
yarn production --app ${APP_NAME}
rm -fr node_modules
yarn install --production=true
yarn add node-sass