Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.07 KB

Docker Stars Docker Pulls

Devpi Server Alpine Docker image

A Docker image based on Alpine that runs a devpi server (a PyPi Cache) with a frontend (devpi-web).

Usage

The $DEVPI_PASSWORD environment variable will set the root password on first run.

docker run -e "DEVPI_PASSWORD=password" -d -p 3141:3141 --name devpi apihackers/devpi

To mount your own local devpi cache directory:

docker run -d -v /path/to/devpi/home:/devpi apihackers/devpi

pip

Use a configuration similar to this in your ~/.pip/pip.conf:

[global]
index-url = http://localhost:3141/root/pypi/+simple/

setuptools

Use a configuration similar to this in your ~/.pydistutils.cfg:

[easy_install]
index_url = http://localhost:3141/root/pypi/+simple/