Initial
This commit is contained in:
13
.dev/init.sh
Executable file
13
.dev/init.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user