Update dockerfile to be able to enable caching