fix(build): use npm mirror in Docker
This commit is contained in:
@@ -2,6 +2,9 @@ FROM node:22.23.1-bookworm-slim AS base
|
||||
|
||||
WORKDIR /app/refine
|
||||
|
||||
ARG NPM_CONFIG_REGISTRY=https://registry.npmmirror.com
|
||||
ENV NPM_CONFIG_REGISTRY=${NPM_CONFIG_REGISTRY}
|
||||
|
||||
FROM base AS deps
|
||||
|
||||
COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./
|
||||
|
||||
Reference in New Issue
Block a user