This script extracts the dependencies from the `pyproject.toml` file and writes them to a `requirements.txt` file.
The `requirements.txt` file is used by the Dockerfile to install the dependencies before installing the application. This is done to speed up the build process and improve caching.