Revert "Put code in source for docker caching"

This reverts commit 4b534c636a067df0849b4f3c014015fdfb6816e8.