mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #413 from euri10/master
Fix issue where tesseract langages weren't installed properly
This commit is contained in:
commit
bacdd51fd7
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.7
|
FROM alpine:3.8
|
||||||
|
|
||||||
LABEL maintainer="The Paperless Project https://github.com/danielquinn/paperless" \
|
LABEL maintainer="The Paperless Project https://github.com/danielquinn/paperless" \
|
||||||
contributors="Guy Addadi <addadi@gmail.com>, Pit Kleyersburg <pitkley@googlemail.com>, \
|
contributors="Guy Addadi <addadi@gmail.com>, Pit Kleyersburg <pitkley@googlemail.com>, \
|
||||||
@ -12,11 +12,10 @@ COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh
|
|||||||
ENV PAPERLESS_EXPORT_DIR=/export \
|
ENV PAPERLESS_EXPORT_DIR=/export \
|
||||||
PAPERLESS_CONSUMPTION_DIR=/consume
|
PAPERLESS_CONSUMPTION_DIR=/consume
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
RUN apk --no-cache --update add \
|
RUN apk update --no-cache && apk add python3 gnupg libmagic bash shadow curl \
|
||||||
python3 gnupg libmagic bash shadow curl \
|
|
||||||
sudo poppler tesseract-ocr imagemagick ghostscript unpaper && \
|
sudo poppler tesseract-ocr imagemagick ghostscript unpaper && \
|
||||||
apk --no-cache add --virtual .build-dependencies \
|
apk add --virtual .build-dependencies \
|
||||||
python3-dev poppler-dev gcc g++ musl-dev zlib-dev jpeg-dev && \
|
python3-dev poppler-dev gcc g++ musl-dev zlib-dev jpeg-dev && \
|
||||||
# Install python dependencies
|
# Install python dependencies
|
||||||
python3 -m ensurepip && \
|
python3 -m ensurepip && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user