analytics/rel/docker-entrypoint.sh
Adam Rutkowski 1519db72c2
Clean up docker entrypoint script (#2217)
The .gitlab directory is no longer relevant.
This moves the entrypoint script to `rel/` directory
and copies from there.
2022-09-13 14:28:28 +03:00

15 lines
169 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 "$@"