improve Dockerfile with suggestions from code review