tika update

This commit is contained in:
Marko Ferme
2022-10-18 12:26:16 +02:00
parent 5833dfafc8
commit abf79be4c8
8 changed files with 50 additions and 13 deletions
+2 -3
View File
@@ -1,12 +1,11 @@
FROM python:3.9
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN apt-get update && apt-get install python3-pil tesseract-ocr libtesseract-dev tesseract-ocr-eng tesseract-ocr-slv tesseract-ocr-script-latn ffmpeg libsm6 libxext6 libgl1 libmagic1 -y
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
# RUN pip install --upgrade pip
RUN pip3 install --no-cache-dir -r requirements.txt