11 lines
283 B
Bash
11 lines
283 B
Bash
#!/bin/sh
|
|
# This script checks if the container is started for the first time.
|
|
|
|
composer install --no-interaction --no-plugins --no-scripts
|
|
|
|
chown -R www-data:www-data storage/ bootstrap/
|
|
chmod -R 755 storage/ bootstrap/
|
|
|
|
# run the command sent as arguments to this script
|
|
exec "$@"
|