Sinopia is a private npm repository server.
docker pull ueqt/inlet
The current latest is an alpine version that's very tiny and efficient.
The file structure has been modified - the sinopia repo is located at /sinopia/registry. See this issue for speculation on the future of sinopia.
docker run --name inlet -d -p 4873:4873 ueqt/inlet
docker run --name inlet -d -p 4873:4873 -v <local-path-to-storage>:/sinopia/registry/storage -v <local-path-to-config>:/sinopia/registry/config.yaml ueqt/inlet
docker restart inlet if config.yaml is updated.git clone https://github.com/ueqt/inlet.git
cd inlet
docker build -t inlet .
docker run -d -p 4873:4873 inlet
先用其他源npm install后 cp npmpublish.sh到node_modules目录下 sh npmpublish.sh就会自动把目录下所有东西都publish上去了
MIT
Content type
Image
Digest
Size
32 MB
Last updated
almost 10 years ago
docker pull ueqt/inlet