Enable static file collection in docker image

This commit is contained in:
Florian Gabsteiger 2019-07-24 13:34:05 -09:00
parent 528b4ac2f0
commit 4107323a76

View File

@ -55,10 +55,15 @@ migrations() {
fi
}
collectstatic() {
sudo -HEu paperless "/usr/src/paperless/src/manage.py" "collectstatic" "--clear" "--no-input"
}
initialize() {
map_uidgid
set_permissions
migrations
collectstatic
}
install_languages() {