add unpaper

This commit is contained in:
Sebastian Hugentobler 2023-08-31 09:13:19 +02:00
parent 57b5cb5a85
commit 4b7339fcd0
Signed by untrusted user who does not match committer: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 12 additions and 2 deletions

View File

@ -43,7 +43,9 @@ RUN apk add --no-cache \
gpg \
tesseract-ocr \
tesseract-ocr-data-deu \
tesseract-ocr-data-eng
tesseract-ocr-data-eng \
unpaper \
font-liberation
COPY --from=builder /install /var/lib/paperless
@ -55,6 +57,7 @@ RUN mkdir /var/lib/paperless/media
RUN chown -R paperless:paperless /var/lib/paperless
ENV HOME /var/lib/paperless
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=20000
VOLUME ["/var/lib/paperless/media", "/var/lib/paperless/consume", "/var/lib/paperless/data"]
EXPOSE 8000

View File

@ -1,10 +1,17 @@
[paperless-ngx](https://github.com/paperless-ngx/paperless-ngx) document
management system.
# Initialization
Inside the container run
`/var/lib/paperless/env/bin/python3 /var/lib/paperless/src/manage.py createsuperuser`
and fill in the values.
# Volumes
- `/var/lib/paperless/media/`
- `/var/lib/paperless/consume/`
- `/var/lib/paperless/data/`
- `/var/lib/paperless/media/`
# Environment Variables