Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Filters out the not really useful warning from Django about async iterators (#5041)

Trenton H80f2bee6e8d3
diff --git a/Dockerfile b/Dockerfile
index 121cd957d..e1425dffb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -39,6 +39,8 @@ RUN set -eux \
# - Don't leave anything extra in here
FROM docker.io/python:3.11-slim-bookworm as main-app
+ENV PYTHONWARNINGS="ignore:::django.http.response:517"
+
LABEL org.opencontainers.image.authors="paperless-ngx team <[email protected]>"
LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/"
LABEL org.opencontainers.image.source="https://github.com/paperless-ngx/paperless-ngx"