From 8a59d47d5edc8510aeaada07bc41a035c4ca15ea Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Sun, 22 Sep 2019 20:34:38 +0200 Subject: [PATCH] install pdftotext in container image --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9e64cf4..4e9cbde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,11 @@ FROM python:3.7 +# Install pdftotext +RUN set -x; \ + apt update && \ + apt install -y poppler-utils && \ + rm -rf /var/lib/apt/lists/* + WORKDIR /usr/src/pylokid COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt