Dockerfile for jnuget - a Pure Java NuGet hosting server
docker build -t robdykedotcom/jnuget-docker:latest .
docker run -v $(pwd):/var/lib/jnuget robdykedotcom/jnuget-docker:latest
Example using current directory as storage
docker run --rm -p 8080:8080 -v $(pwd)/Packages:/var/lib/jnuget/Packages robdykedotcom/jnuget-docker:latest
Open http://localhost:[port] and you will get the start page of jnuget.
Example:
http://127.0.0.1:8080
- User: admin
- Password: admin
jwilder/nginx-proxy works well with the dockerfile
This version is sets jNuget as the default(and only) tomcat webapp, so you can access it directly from the domain root.
If using with jwilder/nginx-proxy, adding the -e VIRTUAL_HOST="****" to your run command will bind jNuget to port 80.
Your setting and pushed packages are stored in [package storage directory].
The Dockerfile does not set configuration for security (e.g. TLS,Authentication).
If [package storage directory] is not set changes (user setting,pushed packages) are lost when container process is killed.
This project is licensed under the MIT License See LICENSE file for details.