1b- ngnix + flask + nwsgi


https://hub.docker.com/r/tiangolo/uwsgi-nginx-flask/




docker pull tiangolo/uwsgi-nginx-flask

Build your Flask image:

docker build -t myimage .

Run a container based on your image:

docker run -d --name mycontainer -p 80:80 myimage


Remove the container



docker ps --all

docker stop mycontainer

docker rm mycontainer