Skip to content

Commit

Permalink
Collect static files before running uwsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
Joonas Venäläinen committed Aug 13, 2021
1 parent 93f68a9 commit b8416bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ elif [[ "$DEV_SERVER" = "1" ]]; then
# If no command, and the dev server env var is true, run the dev server
exec ./manage.py runserver 0.0.0.0:8000
else
python manage.py collectstatic --noinput
exec uwsgi --ini uwsgi.ini
fi

0 comments on commit b8416bb

Please sign in to comment.