analytics/.gitlab/build-scripts/docker-entrypoint.sh
Janosh Riebesell e7593ce94f
Additional pre-commit hooks (#1428)
* add 1st-party langauge agnnostic pre-commit hooks

* white space fixes from pre-commit run -av

* fix CI test/plausible_web/controllers/stats_controller_test.exs#L153

* Revert "fix CI test/plausible_web/controllers/stats_controller_test.exs#L153"

This reverts commit 85c9450efe.

* git checkout 94f476eb~1 -- priv/ref_inspector priv/ua_inspector
2021-11-03 15:46:12 +01: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 "$@"