fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fd91645
)
Forgotten tesseract and imagemagick
master
author
Radek Czajka
<radekczajka@wolnelektury.pl>
Fri, 27 Nov 2026 19:54:36 +0000
(20:54 +0100)
committer
Radek Czajka
<radekczajka@wolnelektury.pl>
Fri, 27 Nov 2026 19:54:36 +0000
(20:54 +0100)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index
e4fcb80
..
db53e2f
100644
(file)
--- a/
Dockerfile
+++ b/
Dockerfile
@@
-3,6
+3,11
@@
FROM python:3.10-slim-trixie AS base
ARG UID=8200
ARG GID=8200
ARG UID=8200
ARG GID=8200
+RUN apt-get update \
+ && apt-get install -y --no-install-recommends \
+ imagemagick tesseract-ocr tesseract-ocr-pol \
+ && rm -rf /var/lib/apt/lists/*
+
COPY requirements/requirements.txt requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip \
COPY requirements/requirements.txt requirements.txt
RUN --mount=type=cache,target=/root/.cache/pip \