This repository contains files necessary for building a Docker image of Gunicorn + Flask.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull danriti/gunicorn-flaskdocker run -d -P danriti/gunicorn-flaskAfter few seconds, open http://<host>:<port> to see the Flask app.
curl -X POST -H "Content-Type: application/json" http://<master>:<port>/v2/apps -d@marathon.jsonReplace <master> and <port> with the IP address and port of your Marathon host.