Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firstandthird/proxy-npm-bower
Dockerfile to proxy npm and bower for faster builds
https://github.com/firstandthird/proxy-npm-bower
Last synced: 3 days ago
JSON representation
Dockerfile to proxy npm and bower for faster builds
- Host: GitHub
- URL: https://github.com/firstandthird/proxy-npm-bower
- Owner: firstandthird
- Created: 2015-02-07T16:20:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-09T17:20:10.000Z (almost 10 years ago)
- Last Synced: 2024-04-08T15:13:18.396Z (10 months ago)
- Size: 117 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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"
```