Fix: Add docker settings for collectstatic

This commit is contained in:
winkidney
2019-12-19 20:22:33 +08:00
parent a3ad1c6180
commit 8b3e834a7a

View File

@@ -14,7 +14,7 @@ bash ${PROJECT_ROOT}/docker/scripts/bootstrap.sh
# If static files don't exist collect them
cd ${PROJECT_ROOT}
python manage.py collectstatic --noinput
python manage.py collectstatic --noinput --settings=pinry.settings.docker
# If database doesn't exist yet create it
if [ ! -f /data/production.db ]