mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
update dockerfile
This commit is contained in:
parent
dbe820323e
commit
0b90e69119
11
Dockerfile
11
Dockerfile
@ -8,7 +8,7 @@ RUN git clone https://github.com/agl/jbig2enc .
|
|||||||
RUN ./autogen.sh
|
RUN ./autogen.sh
|
||||||
RUN ./configure && make
|
RUN ./configure && make
|
||||||
|
|
||||||
FROM python:3.7-slim
|
FROM python:3.9-slim-bullseye
|
||||||
|
|
||||||
# Binary dependencies
|
# Binary dependencies
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@ -33,16 +33,11 @@ RUN apt-get update \
|
|||||||
zlib1g \
|
zlib1g \
|
||||||
ghostscript \
|
ghostscript \
|
||||||
icc-profiles-free \
|
icc-profiles-free \
|
||||||
&& echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \
|
# Mime type detection
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get -y --no-install-recommends install \
|
|
||||||
# fixes sudo / gosu issues
|
|
||||||
libseccomp2 \
|
|
||||||
# Mime type detection
|
|
||||||
file \
|
file \
|
||||||
libmagic-dev \
|
libmagic-dev \
|
||||||
media-types \
|
media-types \
|
||||||
# OCRmyPDF dependencies
|
# OCRmyPDF dependencies
|
||||||
liblept5 \
|
liblept5 \
|
||||||
qpdf \
|
qpdf \
|
||||||
tesseract-ocr \
|
tesseract-ocr \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user