Run django-compress in offline mode

Required to use both whitenoise and compress with precompile steps
This commit is contained in:
audax 2019-09-12 21:33:13 +02:00
parent fefb6cc64b
commit 6108c6f076
3 changed files with 3 additions and 1 deletions

View file

@ -5,5 +5,6 @@ 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