diff --git a/backend/Dockerfile b/backend/Dockerfile index d826a02..ddf2076 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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 diff --git a/backend/requirements.txt b/backend/requirements.txt index 61ea7a2..cc5fe59 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -4,4 +4,7 @@ djangorestframework==3.12.4 django-cors-headers==3.10.0 openpyxl==3.0.9 requests==2.26.0 -gunicorn==20.1.0 \ No newline at end of file +gunicorn==20.1.0 +pandas==1.3.4 +pdfkit==1.0.0 +PyPDF2==1.26.0 \ No newline at end of file