I created a Docker image of a Flask application running the following code on a EC2 server:
docker build -t app .docker run -80:80 app .
The result seems to work as the server returns:
Serving Flask app "app" (lazy loading)Environment: productionDebug mode: offRunning on http://127.0.0.1:5000/
How can I access http://127.0.0.1:5000/
direction on the EC2 server, or change the direction in order to see it?
Also the Docker image is supposed to be running on port 80, but I don't see what role this port playing on the process.
I am following "Simple way to deploy machine learning models to cloud".