This is a example flask app that can be used as a template repository for new flask apps.
The application relies on the app folder, being the main.py
its entrypoint.
It aims to use the latest version of Python, Flask and Gunicorn. Feel free to make a pull request if it's not.
Docker and Docker Compose make things easy!
docker-compose up
# or if you want to run detached
docker-compose up -d
There is a comprehensive Makefile
in the project that can be used.
# install dependencies
make
# runs the app
make run