mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 23:48:33 +00:00
fix: modclean cleaning up google apis
This commit is contained in:
@@ -50,7 +50,7 @@ RUN echo "node-linker=hoisted" > .npmrc
|
||||
# Install production dependencies, reduce node_modules size with modclean,
|
||||
# remove sqlite deps, and add execute permission to start.sh
|
||||
RUN pnpm install --prod --shamefully-hoist \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,@linear/**,jsdom/**" --run \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,@linear/**,jsdom/**,formdata-polyfill/**" --run \
|
||||
&& rm -rf ./node_modules/sqlite3/deps \
|
||||
&& chmod +x /usr/src/appEntry/start.sh
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ RUN echo "node-linker=hoisted" > .npmrc
|
||||
# remove sqlite deps, and add execute permission to start.sh
|
||||
RUN pnpm uninstall nocodb-sdk
|
||||
RUN pnpm install --prod --shamefully-hoist \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,@linear/**,jsdom/**" --run \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,@linear/**,jsdom/**,formdata-polyfill/**" --run \
|
||||
&& rm -rf ./node_modules/sqlite3/deps \
|
||||
&& chmod +x /usr/src/appEntry/start.sh
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ RUN echo "node-linker=hoisted" > .npmrc
|
||||
# Install production dependencies, reduce node_modules size with modclean,
|
||||
# remove sqlite deps, and add execute permission to start.sh
|
||||
RUN pnpm install --prod --shamefully-hoist \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,jsdom/**" --run \
|
||||
&& pnpm dlx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,@azure/msal-node/dist/**,@react-email/**,jsdom/**,formdata-polyfill/**" --run \
|
||||
&& rm -rf ./node_modules/sqlite3/deps \
|
||||
&& chmod +x /usr/src/appEntry/start.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user