Moved proxy configuration to the end so that the image will build on docker hub