This repo is for learning how to use FastAPI.
The code in this tutorial is found in the official documentation for FastAPI: https://fastapi.tiangolo.com/.
sudo docker build -t fastapi-image .
docker run -p 80:80 -it fastapi-image
Make sure you have installed the requirements found in requirements.txt in a virtual environment using tools such as conda or virtualenv.
uvicorn main:app --reload