Sign inSign up

danriti/gunicorn-flask

By danriti

•Updated almost 11 years ago

Image
4

10K+

danriti/gunicorn-flask repository overview

⁠gunicorn-flask

This repository contains files necessary for building a Docker image of Gunicorn + Flask.

⁠Base Docker Image
⁠Installation
  1. Install Docker⁠.

  2. Download automated build⁠ from public Docker Hub Registry⁠:

docker pull danriti/gunicorn-flask
⁠Docker Usage
docker run -d -P danriti/gunicorn-flask

After few seconds, open http://<host>:<port> to see the Flask app.

⁠Marathon Usage
curl -X POST -H "Content-Type: application/json" http://<master>:<port>/v2/apps [email protected]

Replace <master> and <port> with the IP address and port of your Marathon⁠ host.

Tag summary

Content type

Image

Digest

sha256:8a9ef3e02…

Size

78.9 MB

Last updated

almost 11 years ago

docker pull danriti/gunicorn-flask