Add python pdf manipulation libraries

This commit is contained in:
Dana Lambert 2021-11-18 10:58:53 +13:00
parent 433a72a7a8
commit 4ab327c442
2 changed files with 9 additions and 2 deletions

View file

@ -9,9 +9,13 @@ RUN apt update && \
libxslt1-dev libjpeg-dev libpng-dev libpq-dev libgdal-dev \
software-properties-common g++ \
zlib1g-dev libgeos-dev libproj-dev \
sqlite3 spatialite-bin libsqlite3-mod-spatialite && \
sqlite3 spatialite-bin libsqlite3-mod-spatialite \
wget && \
apt clean
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb
RUN apt install -y ./wkhtmltox_0.12.6-1.buster_amd64.deb
COPY ./requirements.txt /app/requirements.txt
RUN pip install -U --no-cache-dir -r requirements.txt

View file

@ -5,3 +5,6 @@ django-cors-headers==3.10.0
openpyxl==3.0.9
requests==2.26.0
gunicorn==20.1.0
pandas==1.3.4
pdfkit==1.0.0
PyPDF2==1.26.0