fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forgotten tesseract and imagemagick
[redakcja.git]
/
Dockerfile
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 \