From 94356c9add4e0d8d5bea4a1472ccdde126261ec5 Mon Sep 17 00:00:00 2001 From: zpc Date: Thu, 9 Apr 2026 14:16:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/Dockerfile | 2 +- server/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/Dockerfile b/admin/Dockerfile index 6e7d889c..f48a328f 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -4,7 +4,7 @@ FROM 192.168.195.25:19900/library/node:20-alpine AS builder WORKDIR /app COPY package.json package-lock.json ./ -RUN npm ci +RUN npm ci --registry=https://registry.npmmirror.com COPY . . RUN npx vite build diff --git a/server/Dockerfile b/server/Dockerfile index e2607e3a..66d778dc 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -3,7 +3,7 @@ FROM 192.168.195.25:19900/library/node:20-alpine WORKDIR /app COPY package.json package-lock.json ./ -RUN npm ci --production=false +RUN npm ci --production=false --registry=https://registry.npmmirror.com COPY tsconfig.json ./ COPY src/ ./src/