Files
blog/.dev/init.sh
2022-06-10 17:43:25 +02:00

17 lines
364 B
Bash
Executable File

#!/usr/bin/env bash
PHP_BUILDPACK=${PHP_BUILDPACK:-"/buildpack/php"};
mkdir -p /tmp/build_cache;
rm -rf /app/.heroku /app/vendor/*
STACK=heroku-20 "$PHP_BUILDPACK/bin/compile" /app /tmp/build_cache /run/secrets;
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";