A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Adds the Python environment flags for no byte code saving, reducing the image size slightly (#5677)
Trenton Hb47f30183114
diff --git a/Dockerfile b/Dockerfileindex 73bd0cf57..ea5bd6026 100644--- a/Dockerfile+++ b/Dockerfile@@ -39,8 +39,6 @@ RUN set -eux \# - Don't leave anything extra in hereFROM 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"@@ -57,6 +55,12 @@ ARG JBIG2ENC_VERSION=0.29ARG QPDF_VERSION=11.6.4ARG GS_VERSION=10.02.1+# Set Python environment variables+ENV PYTHONDONTWRITEBYTECODE=1 \+ PYTHONUNBUFFERED=1 \+ # Ignore warning from Whitenoise+ PYTHONWARNINGS="ignore:::django.http.response:517"+## Begin installation and configuration# Order the steps below from least often changed to most