How to use Multi-Stage Builds in Python