You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
Currently, when running docker-compose -f local.yml build, the documentation service ignores the caches created by the prediction and interface services. This results in re-downloading all the python requirements.
Expected Behavior
The documentation service should use the available caches and not re-download any python requirements.
when running docker-compose -f local.yml build on a clean system, the python requirements files should not be downloaded by documentation service.
when running docker-compose -f local.yml build on a clean system, the documentation service should use the caches provided by the prediction and interface services.
NOTE: All PRs must follow the standard PR checklist.
The text was updated successfully, but these errors were encountered:
A friend of mine proposes that we should build our own base image which is based on the union of the pip requirements. Those, the base image is only supposed to be compiled once. If services use different versions of a library, they have to install them themselves after the base image was created. Just throwing in my two cents :)
Overview
Currently, when running
docker-compose -f local.yml build
, thedocumentation
service ignores the caches created by theprediction
andinterface
services. This results in re-downloading all the python requirements.Expected Behavior
The
documentation
service should use the available caches and not re-download any python requirements.Technical details
Relevant
docker-compose
issue (also includes a few suggestions)Another issue which displays the desired behavior
This feature should be implemented in the
compose/documentation/Dockerfile-dev
,compose/prediction/Dockerfile-dev
,compose/interface/Dockerfile-dev
, andlocal.yml
files.Acceptance criteria
docker-compose -f local.yml build
on a clean system, the python requirements files should not be downloaded bydocumentation
service.docker-compose -f local.yml build
on a clean system, thedocumentation
service should use the caches provided by theprediction
andinterface
services.NOTE: All PRs must follow the standard PR checklist.
The text was updated successfully, but these errors were encountered: