backend/compose/production/django/start

10 lines
181 B
Plaintext
Raw Normal View History

2023-09-08 16:47:40 +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