Fix npm install commands in Dockerfiles and ops scripts

This commit is contained in:
wiz committed 2022-07-07 18:53:17 +02:00
1 parent 6ead907e08
commit d57193c269
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -56,7 +56,7 @@ build_frontend()
if [ ! -e "mempool-frontend-config.json" ];then
cp "${HOME}/mempool/production/mempool-frontend-config.${site}.json" "mempool-frontend-config.json"
fi
npm install --prod --no-optional || exit 1
npm install --omit=dev --omit=optional || exit 1
npm run build || exit 1
}
@@ -75,7 +75,7 @@ build_backend()
-e "s!__ELEMENTS_RPC_PASS__!${ELEMENTS_RPC_PASS}!" \
"mempool-config.json"
fi
npm install --prod --no-optional || exit 1
npm install --omit=dev --omit=optional || exit 1
npm run build || exit 1
}