revert yarn

This commit is contained in:
Tobias 2025-11-04 21:39:23 +01:00 committed by GitHub
parent 24985771da
commit aad01da01d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,8 +116,8 @@ export NODE_OPTIONS=--openssl-legacy-provider
cd /opt/nginxproxymanager/frontend cd /opt/nginxproxymanager/frontend
# Replace node-sass with sass in package.json before installation # Replace node-sass with sass in package.json before installation
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json
$STD node --openssl-legacy-provider $(which yarn) install --network-timeout 600000 $STD yarn install --network-timeout 600000
$STD node --openssl-legacy-provider $(which yarn) build $STD yarn build
cp -r /opt/nginxproxymanager/frontend/dist/* /app/frontend cp -r /opt/nginxproxymanager/frontend/dist/* /app/frontend
cp -r /opt/nginxproxymanager/frontend/app-images/* /app/frontend/images cp -r /opt/nginxproxymanager/frontend/app-images/* /app/frontend/images
msg_ok "Built Frontend" msg_ok "Built Frontend"