Docker Image for Django Application (Alpine Based)
August 21, 2022
Apline based images have a huge advantage by it’s final size but in most cases in the Python world if neotiates by Python dependencies which takes too long to build project packages and final size sometimes may be greater than same image build on debian based image. But Apline still great solution for small Django applications to keep final image tiny.
This post written after the similar post related to the debian based image build proccess, so I wont specify here all environmental details and just provide few Dockerfile examples which you may to use for start.