I am new to web development and am currently trying to deploy a Flask Web Application on Microsoft Azure. I do so from a local Git repository as I am using tensorflow models that have a size of almost 600MB altogether which I cannot upload on GitHub.
The application works locally and I can successfully deploy it in Microsoft Azure (according to the CMD). However, visiting the URL gives a '503 Service Temporarily Unavailable'. What does that mean?
Can someone explain to me how I need to structure my application to make it work properly. I know that I need a startup.txt file to tell Azure where to find my main.py file to start the Flask app. I also have a requirements.txt file with all the dependencies. What am I missing?
Any help / feedback is very much appreciated!
All the best,
snowe
My current app structure:
.git
static
templates
models
utils (some python functions)
main.py
requirements.txt
startup.txt (with: gunicorn --bind=0.0.0.0 --timeout 600 main:app)