Docker Community Forums

Share and learn in the Docker community.

Noobs Question about python scripts and Dockerfile

Hi

I have a project that has a number of python classes in their own directories, with a main script that runs them as required:

project
—Buttons
buttons.py
—Joystick
joystick.py

main.py

Was wondering if someone could point me to a tutorial/vid or give me some pointers as how I would containerize it.

Do the class files get added or pip installed or something else. I have searched but most tutorials involve some sort of web app and dont have this type of scructure.

thanks

jack