add unpaper
This commit is contained in:
parent
57b5cb5a85
commit
4b7339fcd0
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user