I do not know much about Python, but I have built a few python images when I was just starting out with Docker. IIRC, I used the requirements.txt file since it's sort of similar to the package.json file in JavaScript. Installing packages manually is going to be a hassle, yes?