소스 검색

Ajout de 'Django 4.1 mysql + Bootstrap + Crispy-forms'

MrDuhaz 11 달 전
부모
커밋
5f076cea12
1개의 변경된 파일26개의 추가작업 그리고 0개의 파일을 삭제
  1. 26 0
      Django 4.1 mysql + Bootstrap + Crispy-forms

+ 26 - 0
Django 4.1 mysql + Bootstrap + Crispy-forms

@@ -0,0 +1,26 @@
+#############################
+# Django 4.1 mysql + Bootstrap + Crispy-forms > duhaz_p3d413:latest
+
+FROM python:3.12-rc-alpine
+
+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 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==4.1.3
+
+RUN pip install django-crispy-forms gunicorn django-import-export django-trumbowyg