backend/compose/production/django/start

10 lines
181 B
Plaintext
Raw Normal View History

2023-08-26 01:17:47 +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