Skip to content

Commit b25c8fa

Browse files
authored
Fixes on dependencies (#138)
* Add libjpeg as dependency to dockerfile, is needed by WeasyPrint > Pillow * Pin MarkupSafe to 2.0.1 to fix pallets/jinja#1585
1 parent ced93b0 commit b25c8fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM debian:buster
33
EXPOSE 2244
44
ENV DEBIAN_FRONTEND=noninteractive
55
RUN apt-get -y update
6-
RUN apt-get -y install git python3-dev python3-venv python3-pip libcairo-dev libpango1.0-dev locales
6+
RUN apt-get -y install git python3-dev python3-venv python3-pip libcairo-dev libpango1.0-dev libjpeg-dev locales
77

88
RUN sed -i -e 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen && \
99
dpkg-reconfigure --frontend=noninteractive locales && \
@@ -15,4 +15,4 @@ ENV LC_ALL fr_FR.UTF-8
1515
COPY ./ /srv/copanier
1616
RUN cd /srv/copanier/ && python3 -m venv /srv/copanier-venv && . /srv/copanier-venv/bin/activate && pip install wheel gunicorn && pip install -e .
1717

18-
RUN dpkg-reconfigure locales
18+
RUN dpkg-reconfigure locales

setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ install_requires =
1717
debts==0.5
1818
emails==0.6
1919
Weasyprint==51
20+
MarkupSafe==2.0.1
2021

2122
[options.extras_require]
2223
dev =

0 commit comments

Comments
 (0)