Установите Flask Dockerfile Freeze
pip install Flask
pip freeze > requirements.txt
Energetic Echidna
pip install Flask
pip freeze > requirements.txt