Kaynağa Gözat

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

MrDuhaz 11 ay önce
ebeveyn
işleme
0b0fdbf284
1 değiştirilmiş dosya ile 6 ekleme ve 4 silme
  1. 6 4
      Django 3.2 mysql + Bootstrap + Crispy-forms

+ 6 - 4
Django 3.2 mysql + Bootstrap + Crispy-forms

@@ -1,15 +1,17 @@
 #############################
 # Django 3.2 mysql + Bootstrap + Crispy-forms > duhaz_p3d32x: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
+RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo 
 RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
 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 django-crispy-forms gunicorn django-import-export django-trumbowyg
+RUN pip install --upgrade pip
+RUN pip install Django==3.2.23
+RUN pip install django-crispy-forms==1.12.0 gunicorn django-import-export django-trumbowyg
+CMD '/bin/sh'