tmp: add logging to npm ci

This commit is contained in:
2026-11-28 15:45:58 +03:30
parent 155cb09c22
commit 9c7f1340b6
+7 -1
View File
@@ -16,7 +16,13 @@ WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci --omit=dev RUN npm ci --omit=dev --verbose \
--fetch-retries=5 \
--fetch-timeout=600000 \
--maxsockets=2 \
--no-audit \
--no-fund \
|| (cat /root/.npm/_logs/*debug-0.log; exit 1)
COPY --from=builder /app/dist ./dist COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/node_modules ./node_modules