refactor dockerfiles
fixed bug in setting home directory