#!/usr/bin/env bash PHP_BUILDPACK=${PHP_BUILDPACK:-"/buildpack/php"}; mkdir -p /tmp/build_cache /tmp/env; rm -rf /app/.heroku /app/.profile.d /app/vendor/* STACK=heroku-20 "$PHP_BUILDPACK/bin/compile" /app /tmp/build_cache /tmp/env; \ cp -v config/mailhog.ini /app/.heroku/php/etc/php/conf.d/225-mailhog.ini; rm -rf /app/vendor/* composer install