How does one deploy a python script and MAMP database to another Mac

Hi all
I am a newbie here and created a simple python script and MAMP mysql database for an elderly friend to manage his daily prescriptions. I have it on my MacBook and want to deploy it to his mac. How can I do this with Docker, so that I don’t have to install MAMP on his Mac and recreate the database etc.?

Is this something Docker can do?

Thanks in advance for your time