Closed greenmoss closed 6 years ago
For the savant image, see if you can do the first pip install in a separate layer, so that it only needs to be done once. Then compare the time to build versus your first local install. Here is some info:
pip install
https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
I'm switching to a different approach, which will be faster than rebuilding the Docker image each time. See https://github.com/Doveps/mono/wiki/Developing-with-Docker.
This ticket is deprecated.
For the savant image, see if you can do the first
pip install
in a separate layer, so that it only needs to be done once. Then compare the time to build versus your first local install. Here is some info:https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds