Are you considering using python debian-based image instead of alpine-based? There could be many problems occur according to https://pythonspeed.com/articles/alpine-docker-python/