|
|
|
@ -24,7 +24,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 uninstall --save nocodb-sdk |
|
|
|
|
RUN pnpm uninstall nocodb-sdk |
|
|
|
|
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 \ |
|
|
|
|