Runs a python mirror based on devpi-server
docker run -it --name pypimirror -v /some/host/dir:/data -p 3141:3141 larskumbier/pypimirror:latest
Omit the volume mount, if you do not need persistence.
On one-off commands:
pip install -i http://<SERVERURL>:3141/root/pypi/+simple/Alternatively, use env variables:
export PIP_INDEX_URL=http://<SERVERURL>:3141/root/pypi/+simple/export PIPENV_PYPI_MIRROR=http://<SERVERURL>:3141/root/pypi/+simple/Content type
Image
Digest
Size
52.9 MB
Last updated
over 5 years ago
docker pull larskumbier/pypimirror