frigate: raise the Node heap for the web build

This commit is contained in:
MickLesk
2026-10-03 20:51:32 +02:00
parent 65ec2b6667
commit 4b8fa395bf
+1 -1
View File
@@ -236,7 +236,7 @@ $STD bash /opt/frigate/.devcontainer/initialize.sh
$STD make version
cd /opt/frigate/web
$STD npm install
$STD npm run build
NODE_OPTIONS="--max-old-space-size=4096" $STD npm run build
mv /opt/frigate/web/dist/BASE_PATH/monacoeditorwork/* /opt/frigate/web/dist/assets/
rm -rf /opt/frigate/web/dist/BASE_PATH
cp -r /opt/frigate/web/dist/* /opt/frigate/web/