fixed dockerfile and added better document retrival.