diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index d2d2e8de..8ed7fdfb 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -3,11 +3,11 @@ set -eo pipefail source /venv/bin/activate -# first wait for the database +# collect static files +umap collectstatic --noinput +# now wait for the database umap wait_for_database # then migrate the database umap migrate -# then collect static files -umap collectstatic --noinput # run uWSGI exec uwsgi --ini docker/uwsgi.ini