Browse Source

Mise à jour de 'Django 3.1 mysql + Bootstrap + Crispy-forms'

MrDuhaz 11 months ago
parent
commit
462f42849d
1 changed files with 7 additions and 6 deletions
  1. 7 6
      Django 3.1 mysql + Bootstrap + Crispy-forms

+ 7 - 6
Django 3.1 mysql + Bootstrap + Crispy-forms

@@ -1,14 +1,15 @@
 #############################
 #############################
-# Django 3.1 mysql + Bootstrap + Crispy-forms >' duhaz_p3d3112:latest
+# Django 3.1 mysql + Bootstrap + Crispy-forms > duhaz_p3d3112:latest
 
 
-FROM python:rc-alpine3.12
+FROM python:alpine3.19
 VOLUME /mnt/projet
 VOLUME /mnt/projet
 WORKDIR /mnt/projet/
 WORKDIR /mnt/projet/
 RUN apk add tzdata build-base py-pip py3-mysqlclient mariadb-connector-c-dev libffi-dev openssl-dev cargo
 RUN apk add tzdata build-base py-pip py3-mysqlclient mariadb-connector-c-dev libffi-dev openssl-dev cargo
 RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
 RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
-RUN echo Europe/Brussels >' /etc/timezone
-RUN echo Europe/Paris >' /etc/TZ
+RUN echo Europe/Paris > /etc/timezone
+RUN echo Europe/Paris > /etc/TZ
 RUN unset TZ
 RUN unset TZ
 RUN apk del tzdata
 RUN apk del tzdata
-RUN pip install Django==3.1.12
-RUN pip install mysqlclient django-crispy-forms gunicorn social-auth-app-django django-import-export django-trumbowyg unidecode bleach feedparser beautifulsoup4
+RUN pip install --upgrade pip
+RUN pip install Django==3.2.23
+RUN pip install mysqlclient django-crispy-forms==1.12.0 gunicorn social-auth-app-django django-import-export django-trumbowyg unidecode bleach feedparser beautifulsoup4