Deploying grav app to PCF?


Does anyone have experience deploying a grav app to PCF? I’ve been trying with a default php buildpack and been failing. After a bit of modification, i’ve been running into this error when i’m ssh’d into the running container

…/php/bin/php bin/grav install

Warning: require(/home/vcap/app/htdocs/vendor/composer/…/…/…/system/defines.php): failed to open stream: No such file or directory in /home/vcap/app/htdocs/vendor/composer/autoload_real.php on line 67

Fatal error: require(): Failed opening required ‘/home/vcap/app/htdocs/vendor/composer/…/…/…/system/defines.php’ (include_path=’.:/tmp/build/e55deab7/binary-builder/ports/x86_64-linux-gnu/php7/7.1.33/lib/php’) in /home/vcap/app/htdocs/vendor/composer/autoload_real.php on line 67

I thought if I installed all dependencies locally, and then pushed that up, then it would successfully instantiate on pcf. But it’s asking me to run bin/grav install.

Anyone have any experience running grav on pivotal cloud foundry?