DEV Community

Cover image for The quickest way to move your flask app to production with Docker (In 5 minutes)
Steve S Paul
Steve S Paul

Posted on

The quickest way to move your flask app to production with Docker (In 5 minutes)

Features:

It uses a uWSGI server for the flask app and uses nginx to reverse proxy the requests.

Steps:

  • Use this template on Github to make your flask application.
  • Add all your code in the app/views.py file.
  • docker-compose build to build the docker containers.
  • docker-compose up to run the containers on port 5000.

Link to github

link to blog

Top comments (0)