analytics/.gitlab/build-scripts/docker-entrypoint.sh

16 lines
174 B
Bash
Executable File

#!/bin/sh
set -e
if [[ "$1" = 'run' ]]; then
exec /app/bin/plausible start
elif [[ "$1" = 'db' ]]; then
exec /app/"$2".sh
else
exec "$@"
fi
exec "$@"