The steps (and therefore layers) should be organised from "least likely to change" to "most likely to change".
Right now we are copying in poetry deps after the core files, but the files are likely to change more than the dependencies, so this should be swapped.