From 78857c2a40cdd6aaee090a9697118bfdaabb03d9 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 4 Aug 2023 13:49:56 +0800 Subject: [PATCH] feat(nocodb): add --shamefully-hoist --- packages/nocodb/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/Dockerfile b/packages/nocodb/Dockerfile index 7807900165..e147ef669b 100644 --- a/packages/nocodb/Dockerfile +++ b/packages/nocodb/Dockerfile @@ -41,7 +41,7 @@ RUN echo "node-linker=hoisted" > .npmrc # install production dependencies, # reduce node_module size with modclean & removing sqlite deps, # package built code into app.tar.gz & add execute permission to start.sh -RUN pnpm install --prod --reporter=silent \ +RUN pnpm install --prod --shamefully-hoist --reporter=silent \ && npx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**" --run \ && rm -rf ./node_modules/sqlite3/deps \ && tar -czf ../appEntry/app.tar.gz ./* \