feat: add collectstatic command to entrypoint for serving static assets
This commit is contained in:
@@ -15,4 +15,8 @@ else
|
||||
python manage.py migrate
|
||||
fi
|
||||
|
||||
# With DEBUG disabled Django no longer serves app static assets implicitly.
|
||||
# Collect them into STATIC_ROOT so the explicit /static/ URL can serve them.
|
||||
python manage.py collectstatic --noinput
|
||||
|
||||
exec python manage.py runserver 0.0.0.0:"$PORT"
|
||||
|
||||
Reference in New Issue
Block a user