This repository has been archived by the owner on Feb 22, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First, a base image is built that installs all needed pip requirements. The docker containers, that need parts of the requirements (prediction, interface and documentation services), then are built on top of that base image. Thus, building the documentation service doesn't require to install all pip requirements again resulting in a great speed-up of the container building.
Reference to official issue
This addresses #159
How Has This Been Tested?
docker-compose -f local.yml build && docker-compose -f local.yml up
builds all containers properly and fires them up.CLA
PS: Accelerated the build time on Travis from μ=23.5min ± 2.2 min (measured on the last 25 builds) to 18 min (first successful build of this branch) 🎉 The time it takes to build the services locally should thus also greatly be decreased.