Установите Flask Dockerfile Freeze

pip install Flask
pip freeze > requirements.txt
Energetic Echidna