mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Enable static file collection in docker image
This commit is contained in:
parent
528b4ac2f0
commit
4107323a76
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user