diff options
Diffstat (limited to 'scripts/entrypoint.sh')
-rw-r--r-- | scripts/entrypoint.sh | 9 |
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 | |||
3 | set -e | ||
4 | |||
5 | python manage.py collectstatic --noinput | ||
6 | python manage.py makemigrations --noinput | ||
7 | python manage.py migrate --noinput | ||
8 | |||
9 | daphne -b 0.0.0.0 -p 8000 restaurant_orders.asgi:application | ||