Refactored nodewatcher Dockerfiles.