airsltd commited on
Commit
e5e214f
·
1 Parent(s): ef9fc75
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,8 +7,9 @@ RUN git clone https://github.com/PanJiaChen/vue-element-admin.git /app
7
  WORKDIR /app
8
 
9
  # 配置镜像源并安装依赖(避免使用cnpm)
10
- RUN npm config set registry https://registry.npmmirror.com \
11
- && npm install
 
12
 
13
  # 构建生产环境静态文件
14
  RUN npm run build:prod
 
7
  WORKDIR /app
8
 
9
  # 配置镜像源并安装依赖(避免使用cnpm)
10
+ # RUN npm config set registry https://registry.npmmirror.com \
11
+ # && npm install
12
+ RUN npm install
13
 
14
  # 构建生产环境静态文件
15
  RUN npm run build:prod