Open the dev container in VS Code and run the following command in the terminal:
uvicorn fastui_app:app --reload --reload-dir .
Navigate to http://127.0.0.1:8000.
Build the Docker image:
docker build -t fastui-app .
Run the Docker container:
docker run -it -p 8000:8000 --rm fastui-app:latest
Navigate to http://127.0.0.1:8000.