Public | Automated Build

Last pushed: 2 years ago
Short Description
Run pypiserver in Docker using PyPy
Full Description


Dockerfile for running pypiserver in a Docker container.

passlib and watchdog are installed for authentication and caching support, respectively.


docker run --rm -it -p 8080:8080 -v $HOME/packages:/packages -v $HOME/.htpasswd:/.htpasswd praekeltfoundation/pypiserver

This will expose the service at port 8080 on the host with the packages directory and .htpasswd file mounted as volumes.

NOTE: Both volumes are optional -- but without the packages directory package files will only be available within the container and without the .htpasswd file you won't be able to upload any packages unless you set pypiserver's --authenticate flag to allow unauthenticated uploads.

To customize the other pypiserver settings, simply override the default CMD:

docker run ... praekeltfoundation/pypiserver pypi-server -v --hash-algo SHA256 ...
Docker Pull Command