From 207f2cf1e5d7b0fa66e92b9dec9e5888d716b3a2 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 2 Dec 2019 12:43:03 -0300 Subject: [PATCH] HOT-FIX: conserta erro em lib cariocffi --- Dockerfile | 3 ++- requirements/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b50c4093..2f2fe688b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3.10 ENV BUILD_PACKAGES postgresql-dev graphviz-dev graphviz build-base git pkgconfig \ python3-dev libxml2-dev jpeg-dev libressl-dev libffi-dev libxslt-dev \ nodejs py3-lxml py3-magic postgresql-client poppler-utils antiword \ - curl jq openssh-client vim bash postgresql-client + curl jq openssh-client vim bash postgresql-client cairo-dev RUN apk update --update-cache && apk upgrade @@ -13,6 +13,7 @@ RUN apk add --no-cache python3 nginx tzdata && \ python3 -m ensurepip && \ rm -r /usr/lib/python*/ensurepip && \ pip3 install --upgrade pip setuptools && \ + pip3 install wheel && \ rm -r /root/.cache && \ rm -f /etc/nginx/conf.d/* diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 55fea56e7..2d9e6dbfe 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -24,7 +24,7 @@ pytz==2019.3 rtyaml==0.0.5 python-magic==0.4.15 unipath==1.1 -WeasyPrint==44 +WeasyPrint==50 Pillow==6.2.0 gunicorn==19.9.0