Add python pdf manipulation libraries
This commit is contained in:
parent
433a72a7a8
commit
4ab327c442
2 changed files with 9 additions and 2 deletions
|
@ -9,9 +9,13 @@ RUN apt update && \
|
||||||
libxslt1-dev libjpeg-dev libpng-dev libpq-dev libgdal-dev \
|
libxslt1-dev libjpeg-dev libpng-dev libpq-dev libgdal-dev \
|
||||||
software-properties-common g++ \
|
software-properties-common g++ \
|
||||||
zlib1g-dev libgeos-dev libproj-dev \
|
zlib1g-dev libgeos-dev libproj-dev \
|
||||||
sqlite3 spatialite-bin libsqlite3-mod-spatialite && \
|
sqlite3 spatialite-bin libsqlite3-mod-spatialite \
|
||||||
|
wget && \
|
||||||
apt clean
|
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
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
|
|
||||||
RUN pip install -U --no-cache-dir -r requirements.txt
|
RUN pip install -U --no-cache-dir -r requirements.txt
|
||||||
|
|
|
@ -5,3 +5,6 @@ django-cors-headers==3.10.0
|
||||||
openpyxl==3.0.9
|
openpyxl==3.0.9
|
||||||
requests==2.26.0
|
requests==2.26.0
|
||||||
gunicorn==20.1.0
|
gunicorn==20.1.0
|
||||||
|
pandas==1.3.4
|
||||||
|
pdfkit==1.0.0
|
||||||
|
PyPDF2==1.26.0
|
Loading…
Reference in a new issue