Sign inSign up

hourd/npm-cache

By hourd

Updated almost 10 years ago

nodejs image with npm cache installed

Image
0

7.3K

hourd/npm-cache repository overview

npm cache

Docker image built off of the official node image and has the npm-cache package globaly installed.

To use the cache accross containers mount a filesystem directory or data storage container to /root/.package_cache/npm/ inside this container.

Example usage

docker run -it --rm -v /tmp/npm/cache:/root/.package_cache/npm/ -v `pwd`:/app hourd/npm-cache npm-cache install

Tag summary

Content type

Image

Digest

Size

246.7 MB

Last updated

almost 10 years ago

docker pull hourd/npm-cache