You are using somebody's service to run your app. There's no way to do that without giving your code to them, no matter what service you use. Even if you forget about the cloud and colocate your own server, it will still be in the hands of the people running your data center.