]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Filters out the not really useful warning from Django about async iterators (#5041)
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Mon, 18 Dec 2023 18:24:29 +0000 (10:24 -0800)
committerGitHub <noreply@github.com>
Mon, 18 Dec 2023 18:24:29 +0000 (18:24 +0000)
Dockerfile

index 121cd957dd3ef6d4be587ed0e2befbf774781115..e1425dffb1555cb8677fbf654ec0023ae6824093 100644 (file)
@@ -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 <hello@paperless-ngx.com>"
 LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/"
 LABEL org.opencontainers.image.source="https://github.com/paperless-ngx/paperless-ngx"