Install Pillow to manage images

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2022-03-09 19:01:31 +01:00
parent 086a22e36a
commit c585644dd6
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ RUN apt update && \
apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \ apt install -y gettext nginx uwsgi uwsgi-plugin-python3 && \
apt install -y python3-django python3-django-crispy-forms \ apt install -y python3-django python3-django-crispy-forms \
python3-django-extensions python3-django-tables2 python3-docutils \ python3-django-extensions python3-django-tables2 python3-docutils \
python3-psycopg2 && \ python3-pil python3-psycopg2 && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY requirements.txt /code/ COPY requirements.txt /code/

View File

@ -5,3 +5,4 @@ django-extensions~=3.0.3
djangorestframework~=3.12.1 djangorestframework~=3.12.1
django-tables2~=2.4.1 django-tables2~=2.4.1
docutils~=0.16 docutils~=0.16
pillow~=8.1.2