Dockerize custom application

I have created my custom app and manually set up Frappe. Inside my site (mysite.local), only two things are present: Frappe and my_custom. I have completed the production deployment. Now, I want to dockerize it. My custom app is being pulled from Git.
please help me how i can dockerize that