install pdftotext in container image

This commit is contained in:
Tobias Brunner 2019-09-22 20:34:38 +02:00
parent b0228afcfd
commit 8a59d47d5e
1 changed files with 6 additions and 0 deletions

View File

@ -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