Browse Source

HOT-FIX: conserta erro em lib cariocffi

pull/3039/head
Edward Ribeiro 5 years ago
parent
commit
207f2cf1e5
  1. 3
      Dockerfile
  2. 2
      requirements/requirements.txt

3
Dockerfile

@ -3,7 +3,7 @@ FROM alpine:3.10
ENV BUILD_PACKAGES postgresql-dev graphviz-dev graphviz build-base git pkgconfig \ ENV BUILD_PACKAGES postgresql-dev graphviz-dev graphviz build-base git pkgconfig \
python3-dev libxml2-dev jpeg-dev libressl-dev libffi-dev libxslt-dev \ python3-dev libxml2-dev jpeg-dev libressl-dev libffi-dev libxslt-dev \
nodejs py3-lxml py3-magic postgresql-client poppler-utils antiword \ 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 RUN apk update --update-cache && apk upgrade
@ -13,6 +13,7 @@ RUN apk add --no-cache python3 nginx tzdata && \
python3 -m ensurepip && \ python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \ rm -r /usr/lib/python*/ensurepip && \
pip3 install --upgrade pip setuptools && \ pip3 install --upgrade pip setuptools && \
pip3 install wheel && \
rm -r /root/.cache && \ rm -r /root/.cache && \
rm -f /etc/nginx/conf.d/* rm -f /etc/nginx/conf.d/*

2
requirements/requirements.txt

@ -24,7 +24,7 @@ pytz==2019.3
rtyaml==0.0.5 rtyaml==0.0.5
python-magic==0.4.15 python-magic==0.4.15
unipath==1.1 unipath==1.1
WeasyPrint==44 WeasyPrint==50
Pillow==6.2.0 Pillow==6.2.0
gunicorn==19.9.0 gunicorn==19.9.0

Loading…
Cancel
Save