Procházet zdrojové kódy

修改测试环境

wangcz před 7 roky
rodič
revize
a356271b12
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -6,6 +6,6 @@ RUN chmod +x run.sh
 #RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
 #RUN cnpm install -g node-gyp
 #RUN cnpm install -g yarn
-RUN /opt/yarn-v1.5.1/bin/yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass -g
-RUN /opt/yarn-v1.5.1/bin/yarn
+RUN yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass -g
+RUN yarn
 CMD [ "bash", "run.sh" ]