interview-v1/docker/server/docker-entrypoint.sh

10 lines
144 B
Bash
Executable File

#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- php-fpm "$@"
fi
exec docker-php-entrypoint "$@"