An example of a flask api running in a docker container.
Extends example of a Flask API from programminghistorian.org
Clone this repository
git clone https://github.com/deparkes/docker_flask_example.git
Run docker-compose
docker-compose up --build
Test localhost api in your browser by navigating to
http://localhost:5000/api/v1/resources/books/all