feat: fix docker command in readme

This commit is contained in:
Ilya Atamas 2019-04-24 01:19:51 +03:00 committed by GitHub
parent e2932d3afb
commit 7c8b90ff6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ Release binaries for different platforms can be downloaded on the [Releases](htt
The fastest way to get started with NCP is to use Docker image:
```bash
# run proxy inside of docker container in background
docker run -e REDIS_ADDRESS=host.docker.internal:6379 -p 8080:8080 -it emeralt/npm-cache-proxy -d
docker run -e REDIS_ADDRESS=host.docker.internal:6379 -p 8080:8080 -it -d emeralt/npm-cache-proxy
# configure npm to use caching proxy as registry
npm config set registry http://localhost:8080