💻 Tech
Instead of creating your own image with the Alpine Linux as the base image for your Python app, you can just use Python version images and choose either python:<version>-slim
or python:<version>-alpine
. This is in contrast to using default Python version images that are too too large. Of course, you’ll be losing some Debian packages, but your image size will be smaller.
Source: Docker Hub