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