mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Updated README.md,
added docker instructions for pre-built images
This commit is contained in:
parent
18cc0495ef
commit
7530aee68a
1 changed files with 8 additions and 0 deletions
|
@ -49,8 +49,16 @@ Now you can navigate to [http://localhost:4873/](http://localhost:4873/) where y
|
|||
|
||||
### Docker
|
||||
|
||||
To use the pre-built docker image:
|
||||
|
||||
`docker pull verdaccio/verdaccio`
|
||||
|
||||
To build your own image:
|
||||
|
||||
`docker build -t verdaccio .`
|
||||
|
||||
To run the docker container:
|
||||
|
||||
```
|
||||
docker run -it --rm --name verdaccio -p 4873:4873 \
|
||||
-v /<path to verdaccio directory>/conf:/verdaccio/conf \
|
||||
|
|
Loading…
Reference in a new issue