php/7.4/docker-php-entrypoint

9 lines
121 B
Plaintext
Raw Normal View History

2022-01-11 18:10:20 +00:00
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php-fpm "$@"
fi
exec "$@"