Files
blog/.dev/init.sh
2022-06-08 21:34:12 +02:00

17 lines
383 B
Bash
Executable File

#!/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;
exec .dev/xdebug-install.sh;