From 8d02a2aba0c16d3e0a9aca90d41c25c1e637753d Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 4 Aug 2023 15:23:11 +0800 Subject: [PATCH] debug(nocodb): remove --reporter=silent --- packages/nocodb/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/nocodb/Dockerfile b/packages/nocodb/Dockerfile index e147ef669b..a2c3fac347 100644 --- a/packages/nocodb/Dockerfile +++ b/packages/nocodb/Dockerfile @@ -21,12 +21,12 @@ RUN cp $GOPATH/bin/litestream /usr/src/lt FROM node:18.12.1-alpine as builder WORKDIR /usr/src/app -# install pnpm -RUN corepack enable && corepack prepare pnpm@latest --activate - # install node-gyp dependencies RUN apk add --no-cache python3 make g++ +# install pnpm +RUN corepack enable && corepack prepare pnpm@latest --activate + # Copy application dependency manifests to the container image. COPY ./package.json ./package.json COPY ./docker/main.js ./docker/main.js @@ -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 --shamefully-hoist --reporter=silent \ +RUN pnpm install --prod --shamefully-hoist \ && 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 ./* \