From c585644dd672a4e91c60badd48730c3efbba1f15 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 9 Mar 2022 19:01:31 +0100 Subject: [PATCH] Install Pillow to manage images Signed-off-by: Yohann D'ANELLO --- Dockerfile | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 71ba3b9..0200a70 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt update && \ apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \ apt install -y python3-django python3-django-crispy-forms \ python3-django-extensions python3-django-tables2 python3-docutils \ - python3-psycopg2 && \ + python3-pil python3-psycopg2 && \ rm -rf /var/lib/apt/lists/* COPY requirements.txt /code/ diff --git a/requirements.txt b/requirements.txt index 32fc137..e804faa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ django-extensions~=3.0.3 djangorestframework~=3.12.1 django-tables2~=2.4.1 docutils~=0.16 +pillow~=8.1.2