--- server/DocService/patches/sharp+0.32.6.patch.orig   2025-10-25 03:44:19 UTC
+++ server/DocService/patches/sharp+0.32.6.patch
@@ -0,0 +1,13 @@
+diff --git a/node_modules/sharp/package.json b/node_modules/sharp/package.json
+index b4d3a28..152b194 100644
+--- a/node_modules/sharp/package.json
++++ b/node_modules/sharp/package.json
+@@ -89,7 +89,7 @@
+     "Lachlan Newman <lachnewman007@gmail.com>"
+   ],
+   "scripts": {
+-    "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)",
++    "install": "(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp --nodedir=%%LOCALBASE%% rebuild && node install/dll-copy)",
+     "clean": "rm -rf node_modules/ build/ vendor/ .nyc_output/ coverage/ test/fixtures/output.*",
+     "test": "npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types",
+     "test-lint": "semistandard && cpplint",

