2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-12 16:26:35 +00:00

fix(erpnext-nginx): add node-sass as production dependency

This commit is contained in:
Revant Nandgaonkar 2020-09-02 22:13:50 +05:30
parent d236d030f2
commit f77a9bbe66

View File

@ -22,6 +22,7 @@ yarn
yarn production --app ${APP_NAME} yarn production --app ${APP_NAME}
rm -fr node_modules rm -fr node_modules
yarn install --production=true yarn install --production=true
yarn add node-sass
mkdir -p /home/frappe/frappe-bench/sites/assets/${APP_NAME} mkdir -p /home/frappe/frappe-bench/sites/assets/${APP_NAME}
cp -R /home/frappe/frappe-bench/apps/${APP_NAME}/${APP_NAME}/public/* /home/frappe/frappe-bench/sites/assets/${APP_NAME} cp -R /home/frappe/frappe-bench/apps/${APP_NAME}/${APP_NAME}/public/* /home/frappe/frappe-bench/sites/assets/${APP_NAME}