aboutsummaryrefslogtreecommitdiffstats
path: root/entry_point.sh
diff options
context:
space:
mode:
Diffstat (limited to 'entry_point.sh')
-rw-r--r--entry_point.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/entry_point.sh b/entry_point.sh
new file mode 100644
index 0000000..cf101da
--- /dev/null
+++ b/entry_point.sh
@@ -0,0 +1,9 @@
+set -e
+
+python create_metricity_db.py
+alembic upgrade head
+
+shopt -s nocasematch
+if [ "$SKIP_METRICITY" != "true" ]; then
+ poetry run start
+fi