schickmacher/compose/production/django/start
audax 6108c6f076 Run django-compress in offline mode
Required to use both whitenoise and compress with precompile steps
2019-09-12 21:33:13 +02:00

10 lines
205 B
Bash

#!/bin/sh
set -o errexit
set -o pipefail
set -o nounset
python /app/manage.py compress
python /app/manage.py collectstatic --noinput
/usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app