Skip to content Skip to sidebar Skip to footer

Unable To Access Flask Endpoints After Dockerizing The App

I'm working on a flask application which has a list of urls registered. I was able to run the flask app locally and access the urls which are registered for it. But when I dockeriz

Solution 1:

Looks like some issue with having the code in wsgi.py file. Removed app creation code from wsgi.py file and pasted in __init__.py file in app folder and imported the function from there.

Everything is working as expected now.

Post a Comment for "Unable To Access Flask Endpoints After Dockerizing The App"