#!/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
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Dockerfile | File | 2.64 KB | 0644 |
|
php.ini | File | 78 B | 0644 |
|
start-container | File | 296 B | 0644 |
|
supervisord.conf | File | 374 B | 0644 |
|