A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Use pipenv in the Docker build
Daniel Quinndafa6a4c7163
diff --git a/Dockerfile b/Dockerfileindex fadea9a07..3e8c731b9 100644--- a/Dockerfile+++ b/Dockerfile@@ -4,8 +4,8 @@ LABEL maintainer="The Paperless Project https://github.com/danielquinn/paperlesscontributors="Guy Addadi <[email protected]>, Pit Kleyersburg <[email protected]>, \Sven Fischer <[email protected]>"-# Copy requirements file and init script-COPY requirements.txt /usr/src/paperless/+# Copy Pipfiles file and init script+COPY Pipfile* /usr/src/paperless/COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh# Set export and consumption directories@@ -21,7 +21,8 @@ RUN apk update --no-cache && apk add python3 gnupg libmagic libpq bash shadow cupython3 -m ensurepip && \rm -r /usr/lib/python*/ensurepip && \cd /usr/src/paperless && \- pip3 install --no-cache-dir -r requirements.txt && \+ pip3 install --upgrade pip pipenv && \+ pipenv install --system --deploy && \# Remove build dependenciesapk del .build-dependencies && \# Create the consumption directory