From 80f2bee6e8d30d2b9f3a70a8d0a2be90cb3e00d3 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:24:29 -0800 Subject: [PATCH] Filters out the not really useful warning from Django about async iterators (#5041) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) 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 " LABEL org.opencontainers.image.documentation="https://docs.paperless-ngx.com/" LABEL org.opencontainers.image.source="https://github.com/paperless-ngx/paperless-ngx"