open-webui: add env.NODE_OPTIONS (#359891)

This commit is contained in:
Pol Dellaiera 2024-11-28 18:21:45 +01:00 committed by GitHub
commit d8791f8ac3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ let
env.CYPRESS_INSTALL_BINARY = "0"; # disallow cypress from downloading binaries in sandbox
env.ONNXRUNTIME_NODE_INSTALL_CUDA = "skip";
env.NODE_OPTIONS = "--max-old-space-size=8192";
installPhase = ''
runHook preInstall