Examples of how to use FastAPI library.
Build the image.
docker image build --rm --file Testing.Dockerfile --no-cache --tag fast_api .
Run tests with unittest
docker container run --rm fast_api python -m unittest discover tests
Run tests with coverage
docker container run --rm fast_api /bin/bash -c "coverage run -m unittest discover tests; coverage report -m --omit="*/test*""
docker compose build --no-cache
docker compose create
docker compose start
docker compose stop