updated some dependencies, updated docker files

This commit is contained in:
Jonas Winkler 2020-11-13 18:42:32 +01:00
parent 0421031128
commit f92ee0068c
8 changed files with 109 additions and 67 deletions

View file

@ -86,5 +86,9 @@ if [[ ! -z "$PAPERLESS_OCR_LANGUAGES" ]]; then
install_languages "$PAPERLESS_OCR_LANGUAGES"
fi
exec "$@"
if [[ "$1" != "/"* ]]; then
exec sudo -HEu paperless python3 manage.py "$@"
else
exec "$@"
fi