Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AndrienkoAleksandr/77b88f04da62520f9c78fcad6dc6d1ee to your computer and use it in GitHub Desktop.
Save AndrienkoAleksandr/77b88f04da62520f9c78fcad6dc6d1ee to your computer and use it in GitHub Desktop.
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