Skip to content

firstandthird/proxy-npm-bower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

proxy-npm-bower

A simple Dockerfile that will spin up an nginx reverse proxy for npm and bower. This was built to help us speed up builds and let us build even if npm or bower were down.

Usage

docker run -d firstandthird/proxy-npm-bower

  • Get container ID: docker ps
  • Get IP: docker inspect --format '{{ .NetworkSettings.IPAddress }}' containerid

NPM

npm install bower --registry http://ip:8001/

Bower

bower install popbox --config.registry="http://ip:8002"

About

Dockerfile to proxy npm and bower for faster builds

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published