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
Please register or sign in to comment