From 865f833037db8fa4fa1d474b3d215316dcdc452a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Wed, 19 Oct 2022 10:41:56 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=20vers=C3=A3o=20do=20debian=20para=20b?= =?UTF-8?q?ullseye?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 8 ++------ requirements/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index b757229..fd53b72 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-slim-buster +FROM python:3.8-slim-bullseye # Setup env ENV PYTHONDONTWRITEBYTECODE=1 @@ -70,11 +70,7 @@ ADD . ${HOME} # Install python packages RUN pip install -qq --upgrade pip setuptools && \ - if [ $DEBUG = False ]; then \ - pip install -qq -r ${HOME}/requirements/requirements.txt; \ - else \ - pip install -qq -r ${HOME}/requirements/dev-requirements.txt; \ - fi + pip install -qq -r ${HOME}/requirements/requirements.txt # Remove .env trash file RUN rm -f ${HOME}/sigi/.env diff --git a/requirements/requirements.txt b/requirements/requirements.txt index 7e55240..455d34e 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -6,7 +6,7 @@ Pillow==9.2.0 psycopg2-binary==2.9.3 python-docx==0.8.11 requests==2.28.1 -weasyprint==52.5 +weasyprint==57.0 Django==4.1.2 django-auth-ldap==4.1.0 django-debug-toolbar==3.7.0