From cf83f189ac1e39493cf203b77a8b455166bc3b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Dor=C3=A9?= Date: Thu, 11 Jul 2019 11:14:05 +0200 Subject: [PATCH] Add xvfb to run imgkit from Docker image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e8a299d2..0a0cb3233 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ RUN apt update && \ # scipy gfortran libblas-dev liblapack-dev libatlas-base-dev \ # impact retour emploi - wkhtmltopdf python3-cairo \ + wkhtmltopdf python3-cairo xvfb\ && pip3 install virtualenv # Install python requirements @@ -38,4 +38,4 @@ RUN ../env/bin/flask assets build # Run uwsgi EXPOSE 8000 -CMD ["../env/bin/uwsgi", "./docker/uwsgi.ini"] +CMD ["../env/bin/uwsgi", "./docker/uwsgi.ini"] \ No newline at end of file