Moved COPYs to end of Dockerfile to utilize caching. Removed wrapping sh for confd. Added build script.