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
Thanks for your contribution. I just have an important suggestion:
I have a container running with this image that was broken twice due breaking changes on the image. If you are planing to break things, please at least provide images tagged with semantic version to lock the deployed versions and don't break anything by using always the latest version.
Thanks for your work,
I'm maintaining a side repo for a pull request that was never merged https://github.com/rlidwka/sinopia/pull/268 - it's just one line of code for the proxy that won't effect anything.
I can't maintain previous builds at this point, but my repo is open source and if you clone https://github.com/RnbWd/sinopia-docker you'll only have to change one line:
RUN git clone --depth 1 https://github.com/RnbWd/sinopia.git to
RUN git clone --branch (vx.x.x) .... rlidwka/sinopia.git and then build, hope that helps
The image hasn't changed in months I just downgrade to node v10
can you tag please the image version among with latest ?