Ver Fonte

借助运行时环境参数进行编译

yingp há 9 anos atrás
pai
commit
cc00016243
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -5,6 +5,6 @@ WORKDIR /app
 
 
 COPY . /app
 COPY . /app
 RUN cnpm install
 RUN cnpm install
-RUN npm run build
+#RUN npm run build
 
 
-CMD [ "npm", "start" ]
+CMD [ "npm run build && npm start" ]