liquid/web/docker/daphne_entrypoint.sh
2025-05-19 10:26:28 +07:00

9 lines
295 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
set -e
# Переходим в директорию, где лежит manage.py
# Миграции и сбор статики (опционально)
# python manage.py migrate --noinput
python manage.py collectstatic --noinput
exec daphne -b 0.0.0.0 -p 8000 app.asgi:application