Install Pillow to manage images
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
		@@ -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/
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user