Sign inSign up

larskumbier/pypimirror

By larskumbier

•Updated over 5 years ago

Image
0

309

larskumbier/pypimirror repository overview

⁠pymirror

Runs a python mirror based on devpi-server⁠

⁠Installation

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.

⁠Usage from clients

On one-off commands:

  • pip: pip install -i http://<SERVERURL>:3141/root/pypi/+simple/
  • pipenv:

Alternatively, use env variables:

  • pip: export PIP_INDEX_URL=http://<SERVERURL>:3141/root/pypi/+simple/
  • pipenv: export PIPENV_PYPI_MIRROR=http://<SERVERURL>:3141/root/pypi/+simple/

Tag summary

Content type

Image

Digest

Size

52.9 MB

Last updated

over 5 years ago

docker pull larskumbier/pypimirror