Need help with docker-flask-gunicorn-nginx?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

147 Stars 52 Forks 28 Commits 6 Opened issues


Bootstrap example of a Flask app served via Gunicorn and Nginx using Docker conteiners

Services available


Need anything else?

Contributors list

Blueprint for docker-flask-gunicorn-nginx web application

Example App

Bootstrap example of a Flask/Dash app served via Gunicorn and Nginx using Docker containers

Guildeline article can be found at


make build

In your browser (assuming the docker-machine runs on go to:

To clean up the container mess, run

make clean

It will shut down all container and remove all images

Prominent features:

  1. Dockerized application orchestrated by docker-compose
  2. Gunicorn as a WSGI and Nginx as a reverse proxy are included as services
  3. Nginx is configured to serve static files, e.g. images, css etc.
  4. Example of routing implementation in Dash app is shown
  5. Build process uses requirements.txt, but Pipenv files are included to ease the development process
  6. Bootstrap css is included
  7. Standard Single Page App Layout with Header, Main and Footer is set up

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.