diff --git a/docker/run.sh b/docker/run.sh index 2b332b0..ad04e8e 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -1,4 +1,6 @@ #!/bin/sh -yes yes | python manage.py migrate \ -&& python manage.py collectstatic --noinput --clear \ -&& gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file - +set -euxo pipefail +yes yes | python manage.py migrate +python manage.py collectstatic --noinput --clear +python manage.py assets build --manifest django +gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -