Updated dockerfile for building a clean base image