Flask app dont start on heroku server Flask app dont start on heroku server heroku heroku

Flask app dont start on heroku server


Is there actually a running dyno called web? It looks like you might have forgotten to scale your web dyno:

Add an entry like this in your Procfile:

heroku ps:scale web=1

You can use

heroku ps

to confirm that your web dyno is running.


1.Procfile should be without any extension.

2.Content of Procfile should be: web: gunicorn app:app --preload

Note:usually --preload is used when the size is more.