Abstracted out dockerfile to seperate reusable class