bakalarska_praca/database/vendor/laravel/sail/runtimes/7.4/start-container

18 lines
296 B
Plaintext
Raw Normal View History

2023-05-11 19:57:12 +00:00
#!/usr/bin/env bash
if [ ! -z "$WWWUSER" ]; then
usermod -u $WWWUSER sail
fi
if [ ! -d /.composer ]; then
mkdir /.composer
fi
chmod -R ugo+rw /.composer
if [ $# -gt 0 ]; then
exec gosu $WWWUSER "$@"
else
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
fi