diff --git a/Dockerfile b/Dockerfile index 441b8c3..e947134 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,13 @@ WORKDIR /app 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/node_modules ./node_modules