1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00

Updated README.md,

added docker instructions for pre-built images
This commit is contained in:
jmwilkinson 2016-10-18 09:21:54 -07:00 committed by GitHub
parent 18cc0495ef
commit 7530aee68a

@ -49,8 +49,16 @@ Now you can navigate to [http://localhost:4873/](http://localhost:4873/) where y
### Docker ### Docker
To use the pre-built docker image:
`docker pull verdaccio/verdaccio`
To build your own image:
`docker build -t verdaccio .` `docker build -t verdaccio .`
To run the docker container:
``` ```
docker run -it --rm --name verdaccio -p 4873:4873 \ docker run -it --rm --name verdaccio -p 4873:4873 \
-v /<path to verdaccio directory>/conf:/verdaccio/conf \ -v /<path to verdaccio directory>/conf:/verdaccio/conf \