Browse Source

Atualiza versão do debian para bullseye

pull/159/head 3.0.11
Sesostris Vieira 2 years ago
parent
commit
865f833037
  1. 8
      docker/Dockerfile
  2. 2
      requirements/requirements.txt

8
docker/Dockerfile

@ -1,4 +1,4 @@
FROM python:3.8-slim-buster FROM python:3.8-slim-bullseye
# Setup env # Setup env
ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONDONTWRITEBYTECODE=1
@ -70,11 +70,7 @@ ADD . ${HOME}
# Install python packages # Install python packages
RUN pip install -qq --upgrade pip setuptools && \ RUN pip install -qq --upgrade pip setuptools && \
if [ $DEBUG = False ]; then \ pip install -qq -r ${HOME}/requirements/requirements.txt
pip install -qq -r ${HOME}/requirements/requirements.txt; \
else \
pip install -qq -r ${HOME}/requirements/dev-requirements.txt; \
fi
# Remove .env trash file # Remove .env trash file
RUN rm -f ${HOME}/sigi/.env RUN rm -f ${HOME}/sigi/.env

2
requirements/requirements.txt

@ -6,7 +6,7 @@ Pillow==9.2.0
psycopg2-binary==2.9.3 psycopg2-binary==2.9.3
python-docx==0.8.11 python-docx==0.8.11
requests==2.28.1 requests==2.28.1
weasyprint==52.5 weasyprint==57.0
Django==4.1.2 Django==4.1.2
django-auth-ldap==4.1.0 django-auth-ldap==4.1.0
django-debug-toolbar==3.7.0 django-debug-toolbar==3.7.0

Loading…
Cancel
Save