更新腾讯源
This commit is contained in:
parent
44b5a2f966
commit
7585e59f89
@ -5,8 +5,8 @@ FROM node:18-alpine as build-stage
|
||||
WORKDIR /app
|
||||
|
||||
# 设置 npm 淘宝镜像源
|
||||
RUN npm config set registry https://registry.npmmirror.com
|
||||
RUN npm config set sass_binary_site https://npmmirror.com/mirrors/node-sass/
|
||||
RUN npm config set registry http://mirrors.cloud.tencent.com/npm/
|
||||
|
||||
|
||||
# 复制 package.json 和 package-lock.json (如果存在)
|
||||
COPY package*.json ./
|
||||
|
||||
Loading…
Reference in New Issue
Block a user