Sign inSign up

telor/npm-cache

By telor

Updated about 9 years ago

🔥

Image
0

557

telor/npm-cache repository overview

npm Cache

Build

docker build -t npm-cache --no-cache .

Run

docker run -it -p 5080:5080 -p 16984:16984 -v /data -e "BASE_URL=http://$(docker-machine ip dev):5080" --name npm-cache --restart=always npm-cache

Configuration

npm set registry http://127.0.0.1:5080

Use the following command to switch back to the old default registry.

npm set registry https://registry.npmjs.org

Tag summary

Content type

Image

Digest

Size

285.8 MB

Last updated

about 9 years ago

docker pull telor/npm-cache