RUN npm set registry https://registry.npm.taobao.org
RUN npm config set registry https://registry.npm.taobao.org
RUN npm config set disturl https://npm.taobao.org/dist
FROM node:5-onbuild
RUN npm install webpack babel-cli local-web-server --global && webpack --config webpack.production.config.js
Step 1/1 : COPY package.json /usr/src/app/
---> Using cache
Step 1/1 : RUN npm install
---> Running in fb7fe947bc51
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/bootstrap
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/classnames
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/file-loader
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/foundation-sites
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/isomorphic-fetch
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/jquery
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/jwt-decode
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-dom
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-hot-loader
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-iframe
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-redux
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-router
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/react-router-redux
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/redux
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/redux-auth-wrapper
npm info attempt registry request try #1 at 11:47:54 AM
npm http request GET https://registry.npmjs.org/redux-form
1
chairuosen 2017-02-25 21:17:38 +08:00
npm install --registry=https://registry.npm.taobao.org xxxxx
|
2
noobsheldon OP @chairuosen 输出还是一样的。。。
|
3
credochen 2017-02-26 09:18:42 +08:00 via iPhone
用 cnpm 。
|
4
darrenfang 2017-03-15 18:50:16 +08:00 via iPhone
|