analytics/.gitlab/build-scripts/docker-entrypoint.sh
2020-10-13 10:20:02 +03:00

13 lines
143 B
Bash
Executable File

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