diff --git a/docker/run.sh b/docker/run.sh index d1c1466..2b332b0 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -1,5 +1,4 @@ #!/bin/sh -yes yes | python manage.py migrate && \ -#yes yes | pipenv run python manage.py createcachetable && \ -python manage.py collectstatic --noinput && \ -gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file - +yes yes | python manage.py migrate \ +&& python manage.py collectstatic --noinput --clear \ +&& gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -