Skip to content

Commit

Permalink
Upgrade Docker image to Alpine 3.11
Browse files Browse the repository at this point in the history
This make tesseract 4.1 avaialbe, which fixes some things like infinite
processing loops on some documents:
tesseract-ocr/tesseract#2288 (comment)

Some dependencies had to be bumped for being compatible with the new Alpine
libraries.
  • Loading branch information
languitar committed Feb 16, 2020
1 parent e0da952 commit 022f3bb
Show file tree
Hide file tree
Showing 4 changed files with 289 additions and 304 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.11

LABEL maintainer="The Paperless Project https://github.com/the-paperless-project/paperless" \
contributors="Guy Addadi <[email protected]>, Pit Kleyersburg <[email protected]>, \
Expand Down Expand Up @@ -67,4 +67,4 @@ COPY data/ /usr/src/paperless/data/
COPY media/ /usr/src/paperless/media/

# Collect static files
RUN sudo -HEu paperless /usr/src/paperless/src/manage.py collectstatic --clear --no-input
RUN sudo -HEu paperless /usr/src/paperless/src/manage.py collectstatic --clear --no-input
Loading

0 comments on commit 022f3bb

Please sign in to comment.