diff --git a/entrypoint.sh b/entrypoint.sh index 1259022..7940e9c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -8,7 +8,7 @@ if [ -n "$PHP_EXTENSIONS" ]; then done fi -if ! id -u "user" >/dev/null ; then +if ! id -u "user" >/dev/null 2>&1; then useradd -u 1000 -m user mkdir /var/www/html/vendor chown -R user:user /var/www/html/vendor