backend/compose/production/django/start

10 lines
181 B
Plaintext
Raw Permalink Normal View History

2023-06-25 03:26:59 +03:00
#!/bin/bash
set -o errexit
set -o pipefail
set -o nounset
python /app/manage.py collectstatic --noinput
exec /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app