From d626a27663f3de01c2bb86b7b197c019ebab140c Mon Sep 17 00:00:00 2001 From: shangzy Date: Fri, 5 Jun 2026 18:25:06 +0800 Subject: [PATCH] fix: make docker npm install more reliable --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 63f92eb..39b20d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN npm config set registry https://registry.npmmirror.com FROM base AS deps WORKDIR /app COPY package.json bun.lock ./ -RUN npm install --frozen-lockfile +RUN npm install --registry=https://registry.npmmirror.com --fetch-timeout=120000 --fetch-retries=5 # --- Build --- FROM base AS builder