Files
blog/.dev/init.sh
2022-06-07 13:53:28 +02:00

14 lines
352 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