2

I'm using docker pypi server as my internal pip server. I have thousands of requests and sometimes my server fails (i.e. reaches 5 timeouts)

pypiserver specifies an option that can help with that: using cache. How can I make my docker run with this option enabled (OR is there another way to handle the request load better)?

  • The docker tutorial specifies a cache-related command : --cache-control AGE but it has nothing to do with the pypi caching I want.

  • Here is my docker run command: sudo docker run -p 80:8080 -v /home/bla/.pypi_server/packages:/data/packages pypiserver/pypiserver:latest

CIsForCookies
  • 12,097
  • 11
  • 59
  • 124

0 Answers0