Public | Automated Build

Last pushed: a year ago
Short Description
npm proxy cache
Full Description

Usage

Run the container

docker run --net=host -p 8080:8080 -t davidbadura/npm-proxy-cache

Use it with npm, replacing the npm-proxy-cache hostname below with the ip or hostname you have the container above running at.

npm --proxy http://npm-proxy-cache:8080 --https-proxy http://npm-proxy-cache:8080 --strict-ssl false install

or globaly

npm config set proxy http://npm-proxy-cache:8080
npm config set https-proxy http://npm-proxy-cache:8080
npm config set strict-ssl false

Environment Variables

Key Value
NPM_PROXY_CACHE_HOST 0.0.0.0
NPM_PROXY_CACHE_TTL 86400
Docker Pull Command
Owner
davidbadura