Browse Source

Mise à jour de 'Django 3.2 Pour Tools.duhaz.fr'

MrDuhaz 11 tháng trước cách đây
mục cha
commit
e0775d761f
1 tập tin đã thay đổi với 7 bổ sung6 xóa
  1. 7 6
      Django 3.2 Pour Tools.duhaz.fr

+ 7 - 6
Django 3.2 Pour Tools.duhaz.fr

@@ -1,15 +1,16 @@
 #############################
-# Django 3.2 Pour Tools.duhaz.fr>' tools_duhaz_p3d324:latest
+# Django 3.2 Pour Tools.duhaz.fr> tools_duhaz_p3d3223:latest
 
-FROM python:rc-alpine3.12
+FROM python:alpine3.19
 VOLUME /mnt/projet
 WORKDIR /mnt/projet/
 RUN sed -i 's/https/http/' /etc/apk/repositories
-RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo bind-tools g++ freetype-dev jpeg-dev zlib zlib-dev openssl
+RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo bind-tools g++ freetype-dev jpeg-dev zlib zlib-dev openssl libffi-dev
 RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
-RUN echo Europe/Brussels >' /etc/timezone
-RUN echo Europe/Paris >' /etc/TZ
+RUN echo Europe/Brussels > /etc/timezone
+RUN echo Europe/Paris > /etc/TZ
 RUN unset TZ
 RUN apk del tzdata
-RUN pip install Django==3.2.4
+RUN pip install --upgrade pip
+RUN pip install Django==3.2.23
 RUN pip install django-crispy-forms gunicorn django-import-export django-trumbowyg Pillow urllib3 requests bs4