backend/compose/production/django/start

10 lines
181 B
Plaintext
Raw Normal View History

2023-05-27 11:13:41 +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