Docker Image of Flask Python file not running in browser

I have put my flask app in a docker container and when I run it in the terminal, everything that I would expect to print out does, so the python app is running, but when i put the link in the browser I get: didn’t send any data.


Does anyone know why it is not connecting in the browser?

Edit: I've also put in'') in my flask python file, I also have port=(int)"5000" in my python file and EXPOSE 5000 in my dockerfile

submitted by /u/akas24
[link] [comments]
Source: Reddit