That's a simple boilerplate to containerize a fast API POC based on Tiangolo's Docker page.
- Install docker and docker-compose to your OS
- Enable docker to your OS
- Move to your desired OS folder.
- Git clone or download the file
- Move to the app folder
- Build the container: docker-compose build
- Start your service in the local network: - docker-compose up
- The API is running in the localhost IP address in port 8000: http://127.0.0.1:8000
- The Swagger UI is running in the localhost IP address in port 8000 resource docs: http://127.0.0.1:8000/docs
Wish you good luck!