I'm trying to deploy a Laravel app to a Jelastic Cloud. My problem is, I don't know how to build my scripts with npm. Until now I use laravel forge & envoyer and build the scripts with npm run prod
on the server while deploying.
But How to do that in Jelastic Cloud? Do I need to add a node.js server just for the deployment process? Or is it possible to install node on the nginx server in Jelastic cloud?
(I know I could build the scripts locally before uploading, but that makes it dependant on my dev machine, which I don't like)