diff --git a/docker/docker-prepare.sh b/docker/docker-prepare.sh index 6ea4247b7..28ddda55a 100755 --- a/docker/docker-prepare.sh +++ b/docker/docker-prepare.sh @@ -52,7 +52,7 @@ search_index() { superuser() { if [[ -n "${PAPERLESS_ADMIN_USER}" ]]; then - sudo -HEu paperless python3 manage.py manage_superuser + python3 manage.py manage_superuser fi }