Hello @Manoranjan Kumar
App Service on Linux supports a number of language specific built-in images. Python Dockerfile that is used by Azure App Service Linux is located here.
Base image is mcr.microsoft.com/oryx/python
with is modified Debian https://github.com/microsoft/Oryx/blob/main/images/runtime/python/3.11/base.bullseye.Dockerfile
https://github.com/microsoft/Oryx/blob/main/doc/supportedRuntimeVersions.md
Microsoft updates language specific built-in images from time to time, but if the runtime your application requires is not supported or required additional packages are not included in the built-in images, you can deploy it with a custom container.