fix: remove problematic npmmirror registry from Dockerfiles

This commit is contained in:
nccttc committed 2026-02-15 16:51:17 +08:00
1 parent eb5250e9f3
commit cb61bd2ea2
2 files changed
-3

No files matched your search

-2
View File
@@ -6,7 +6,6 @@ WORKDIR /app
# 复制依赖文件
# 复制依赖文件
COPY package*.json ./
RUN npm config set registry https://registry.npmmirror.com
RUN npm install
# 复制源代码并构建
@@ -24,7 +23,6 @@ RUN apk add --no-cache vips-dev ffmpeg
# 复制依赖
COPY package*.json ./
RUN npm config set registry https://registry.npmmirror.com
RUN npm install --omit=dev
# 复制构建产物
-1
View File
@@ -5,7 +5,6 @@ WORKDIR /app
# 安装依赖
COPY package*.json ./
RUN npm config set registry https://registry.npmmirror.com
RUN npm ci
# 复制源代码