File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,9 @@ Python docker image tend to become large after installing the application requir
6969to minimise the image size, even if it produces a slightly more complex multistage
7070Dockerfile.
7171
72- The following setup makes sure the production image will keep to a minimal size ("only" 390MB ):
72+ The following setup makes sure the production image will keep to a minimal size ("only" 360MB ):
7373 * 150MB base image
74- * 165MB python installed dependencies
75- * 73MB poetry + updated pip
74+ * 210MB python installed dependencies
7675
7776Using the following pipeline the "test" image is instead ~ 850MB, more than 400MB that would
7877end up as a cost in traffic on each image pull.
Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ Python docker image tend to become large after installing the application requir
55to minimise the image size, even if it produces a slightly more complex multistage
66Dockerfile.
77
8- The implemented Dockerfile makes sure the production image will keep to a minimal size ("only" 390MB ):
8+ The implemented Dockerfile makes sure the production image will keep to a minimal size ("only" 360MB ):
99 * 150MB base image
10- * 165MB python installed dependencies
11- * 73MB poetry + updated pip
10+ * 210MB python installed dependencies
1211
1312If you look at the "dev" image is instead ~ 850MB, more than 400MB that would
1413end up as a cost in traffic on each image pull.
You can’t perform that action at this time.
0 commit comments