An Azure service that provides streamlined full-stack web app development.
Create the startup script in your project directory. You can name it startup.sh.
Add your startup command inside the file. Below is sample Example for Flask with custom command:
gunicorn -b 0.0.0.0:8000 app:app
Commit the file to your code repository.
In the Azure Portal :
- Go to your App Service → Configuration → General settings.
- In Startup Command, enter:
./startup.sh - Click Save, then Continue when prompted to restart the service.
Please don’t forget to click "Accept the answer" and click "Yes" .So it can be helpful for others with similar questions.