Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1022 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 1022 Bytes

docker-cnpm

docker image of cnpmjs.org, the "Company NPM" by alibaba nodejs-version-badge cnpmjs.org-version-badge

https://hub.docker.com/r/hbrls/cnpmjs/

Easy

$ docker pull hbrls/cnpm:0.0.5
$ docker run -d \
             -p 7001:7001 \
             -p 7002:7002 \
             -v /path/to/config:/var/app/cnpmjs.org/config \
             -v /path/to/customize/README.md:/var/app/cnpmjs.org/docs/web/readme.md \
             -v /path/to/storage:/var/www \
             --name cnpm hbrls/cnpm:0.0.5

Reference

  1. GitHub: cnpm/cnpmjs.org
  2. 跟我一起部署和定制 CNPM——基础部署
  3. Deploy a private npm registry in 5 minutes