Skip to content
Snippets Groups Projects
Commit c7b64597 authored by Moul's avatar Moul
Browse files

containers: improve layers build

Create a cached layer for downloaded dependencies
which does not get invalidated by sources change

Copy pyproject.toml first,
install dependencies as a layer,
which is only invalidated when this file changes

Then copy sources and build layer
If the sources changes, the layer
cache is invalidated and therefore rebuilt
parent da8bce74
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment