添加了依赖安装的代理
This commit is contained in:
parent
ca112ae1dc
commit
5ab7ebbe5a
@ -8,7 +8,8 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
|
||||
# 安装依赖
|
||||
RUN npm install
|
||||
RUN npm config set registry https://registry.npmmirror.com && \
|
||||
npm install
|
||||
|
||||
# 复制项目文件
|
||||
COPY . .
|
||||
|
Loading…
x
Reference in New Issue
Block a user