Modularize dockerfile

Seems to work well.
this is user specific, so I would put this in your global .gitignore so you don't have to add it to every sub-project