From 0051cc3fa5df5876f04ddf17f1cbb80f44239ffc Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 26 Dec 2020 17:40:25 +0100 Subject: [PATCH] Update run script --- docker/run.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -