Sign inSign up

psexton/npm-registry

By psexton

•Updated about 5 years ago

Your own private NPM registry, completely isolated and separate from the public one.

Image
1

2.5K

psexton/npm-registry repository overview

Base image: psexton/couchdb:1.0.0⁠, which runs CouchDB 1.6.1 on Ubuntu 14.04.2.

I basically followed the instructions found at the npm-registry-couchapp github repo⁠.

Running the server:

$ docker run -d -p 5984:5984 psexton/npm-registry
87f68e6cf769e910d772df58843b074ec8f6602474d14a75f8839de0fbf42edb

Configuring a client (once on each client machine):

$ npm config set registry "http://your.docker.server:5984/registry/_design/app/_rewrite/"
$ npm adduser

Then you can use it as normal

$ cd /home/jrandom/foo; npm publish .
$ cd /home/jrandom/bar; npm install foo

⁠Source##

Dockerfile⁠

Changelog⁠

Tag summary

Content type

Image

Digest

sha256:2957fee2d…

Size

452.1 MB

Last updated

about 5 years ago

docker pull psexton/npm-registry