Skip to content

Commit b8416bb

Browse files
author
Joonas Venäläinen
committed
Collect static files before running uwsgi
1 parent 93f68a9 commit b8416bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ elif [[ "$DEV_SERVER" = "1" ]]; then
3838
# If no command, and the dev server env var is true, run the dev server
3939
exec ./manage.py runserver 0.0.0.0:8000
4040
else
41+
python manage.py collectstatic --noinput
4142
exec uwsgi --ini uwsgi.ini
4243
fi

0 commit comments

Comments
 (0)