I am working on several microservices written in Python 3. These microservices are deployed within a Docker container.
Within the Dockerfile I pip the necessary python modules needed to code's imports.
Here is the problem : on occasion pip fails with a 404 error, for example when pulling python-dateutil.
This problem is rare but aoying.
So, to avoid this, I thought I would download necessary python modules, since current versions work and do not require updates, and make them part of the Docker bundling when making the container, and then pip install locally instead of installing from remotely.
Question : Is this approach recommendable?
