fix: make docker npm install more reliable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user