summaryrefslogtreecommitdiffstats
path: root/scripts/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entrypoint.sh')
-rw-r--r--scripts/entrypoint.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh
new file mode 100644
index 0000000..b368fd4
--- /dev/null
+++ b/scripts/entrypoint.sh
@@ -0,0 +1,9 @@
1#!/bin/sh
2
3set -e
4
5python manage.py collectstatic --noinput
6python manage.py makemigrations --noinput
7python manage.py migrate --noinput
8
9daphne -b 0.0.0.0 -p 8000 restaurant_orders.asgi:application