tmp: add logging to npm ci
This commit is contained in:
+7
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user