KacperSobolewski-9509, Apologies for the delay from over the weekend.
1/2:
I understand, you have done enough research on this, weighing functionality to leverage for your specific requirement - Just to highlight, App Service uses the Gunicorn web server by default, which must be able to find your app object or wsgi.py folder. If needed, you can Customize the startup command.
On App Service, you can control the container's startup behavior by providing either a custom startup command or multiple commands in a startup command file. A startup command file can use whatever name you choose, such as startup.sh, startup.cmd, startup.txt, and so on.
Use a
To use a different web server (non-Gunicorn server), such as aiohttp
, use the appropriate command as the startup command or in the startup command file:
python3.7 -m aiohttp.web -H localhost -P 8080 package.module:init_func
You can run an unsupported version of Python by building your own container image instead. Use a custom Docker image.
Production settings for Django apps