mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-31 06:30:17 +00:00
替换默认镜像源为华为npm镜像
This commit is contained in:
parent
1c8fe6c181
commit
adab9cb4cf
@ -9,7 +9,7 @@ RUN apk add --no-cache tzdata
|
||||
ENV TZ="Asia/Shanghai"
|
||||
|
||||
# 如果各公司有自己的私有源,可以替换registry地址,如使用官方源注释下一行
|
||||
RUN npm set registry https://registry.npm.taobao.org
|
||||
RUN npm config set registry https://repo.huaweicloud.com/repository/npm/
|
||||
|
||||
# 安装开发期依赖
|
||||
COPY package.json ./package.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user