Add dockerfile support

This pull request will add Docker support with some minor modifications to work.