I think Option B looks the most efficient for rebuilding the image when the exposed port, Python dependency, or MyApp source code is modified. Separating the dependencies and app code into different layers makes it easier to cache and rebuild only the necessary parts.
Jordan
18 days agoHayley
19 days agoAudry
19 days agoTeresita
27 days ago