#!/bin/sh set -eu # ---------------------------------------------------------------------------------------------------------------------- echo "► Starting Main Entrypoint..." # -------------------------------------------------------------------------------------------------------------------- # Run custom ad-hoc pre-run script echo "► Running custom pre-run (base) script..." pre-run-base # ---------------------------------------------------------------------------------------------------------------------- # Run Dockerfile's CMD (default: $> php-fpm ) echo "► Starting... cmd: ${@}" exec tini -- "${@}"