How to move customized installation to docker

we are moving our suitecrm installed locally on the server to docker. we can move the database, but having trouble with moving the software, which all its internal customizations. what files should we copy over and or is there a guide to move the installation from one server to another(actually a docker)