I’m in the process of slimming down some of the VPSs I use to run my websites and small webapps. Specifically I would like to slim down to a smaller Linode instance. This should have sufficient specifications for running my OCaml webapps, but compiling them on it (and maintaining the related dependencies) would be annoying. So I would like to build my apps as binaries on a different, more powerful machine and then move them over to my server for deployment.
Is this is a reasonable thing to do? Are there any gotchas I should be aware of? I’m planning on using 64-bit Alpine Linux on both my local machine and the Linode VPS.