StarrySkyWorld commited on
Commit
b4b2b54
·
verified ·
1 Parent(s): 2c66aaf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ WORKDIR /app
10
  RUN git clone https://github.com/Ve-ria/ami.2api.git .
11
 
12
  # 安装依赖
13
- RUN npm install
14
 
15
  # 暴露端口(根据实际应用需要调整,常见的是 3000)
16
  EXPOSE 3000
 
10
  RUN git clone https://github.com/Ve-ria/ami.2api.git .
11
 
12
  # 安装依赖
13
+ RUN npm install && npm run build
14
 
15
  # 暴露端口(根据实际应用需要调整,常见的是 3000)
16
  EXPOSE 3000