Sinopia (Docker Image)
Sinopia is a private npm repository server.
docker pull rnbwd/sinopia
The current latest (this will change soon) is based on my slighly modified version for use with
jwilder/nginx-proxy(default build for the last 2 years)
Also there's an alpine version that's very tiny and efficient, currently experimental
The file structure has been modified - the sinopia repo is located at /sinopia/registry. See this issue for speculation on the future of sinopia.
- To run default container on port 4873
docker run --name sinopia -d -p 4873:4873 rnbwd/sinopia
docker run --name sinopia -d -p 4873:4873 -v <local-path-to-storage>:/sinopia/registry/storage -v <local-path-to-config>:/sinopia/registry/config.yaml rnbwd/sinopia
- The volume will be synced, so you can update the anything linked outside of the container and it will automatically change the files inside the container. Run
docker restart sinopiaif
Building Custom Containers
- From github repository
git clone https://github.com/RnbWd/sinopia-docker.git cd sinopia-docker docker build -t sinopia . docker run -d -p 4873:4873 sinopia