Application flask in docker

Could someone help me how to do this application of this course, run in docker, should I change anything in code ?? Or just create a dockerfile ???