Created
March 5, 2018 09:38
-
-
Save AndrienkoAleksandr/77b88f04da62520f9c78fcad6dc6d1ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prebuilt images | |
To pull the latest pre-built docker image: | |
docker pull verdaccio/verdaccio | |
Since version 2 images for every version are available as tags. | |
Running verdaccio using Docker | |
To run the docker container: | |
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio | |
Set up registry for pakcage scope per user: | |
npm config set @oandriie:registry http://0.0.0.0:4873 | |
or inside extension you can create ".npmrc" simply: | |
@oandriie:registry=http://0.0.0.0:4873 | |
.yarnrc | |
"@oandriie:registry" "http://0.0.0.0:4873/" | |
or | |
registry "http://0.0.0.0:4873/" | |
.npmrc | |
@oandriie:registry=http://0.0.0.0:4873 | |
or | |
registry=http://0.0.0.0:4873 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment