Run `composer install` during container startup

Closes #1
This commit is contained in:
3wc 2021-12-06 15:14:48 +02:00
parent 7496125072
commit cd7cf577f3
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,3 @@
1. Clone this repository
2. Copy `src/.env.example` to `src/.env`
3. Run `cd src && composer install`
4. Run `docker-compose up`
3. Run `docker-compose up`

View File

@ -94,6 +94,7 @@ if [[ "$1" == apache2* ]] || [ "$1" = 'php-fpm' ]; then
# fi
# done
# fi
composer install
fi
exec "$@"