mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 20:46:53 +00:00
Add support for using pre-existing text from PDFs
This commit is contained in:
1 parent
31c8cf020e
commit
cd92c005e3
7 files changed
+60
-13
No files matched your search
+2
-2
@@ -18,9 +18,9 @@ ENV PAPERLESS_EXPORT_DIR=/export \
|
||||
# Install dependencies
|
||||
RUN apk --no-cache --update add \
|
||||
python3 gnupg libmagic bash \
|
||||
sudo tesseract-ocr imagemagick ghostscript unpaper && \
|
||||
sudo poppler tesseract-ocr imagemagick ghostscript unpaper && \
|
||||
apk --no-cache add --virtual .build-dependencies \
|
||||
python3-dev gcc musl-dev zlib-dev jpeg-dev && \
|
||||
python3-dev poppler-dev gcc g++ musl-dev zlib-dev jpeg-dev && \
|
||||
# Install python dependencies
|
||||
python3 -m ensurepip && \
|
||||
rm -r /usr/lib/python*/ensurepip && \
|
||||
|
||||
Reference in new issue
Block a user