This will aid in building and shipping ease of use. For security reasons I would probably recommend a multistage build with https://images.chainguard.dev/directory/image/python/overview