Django 4.1 mysql + Bootstrap + Crispy-forms 555 B

123456789101112131415
  1. #############################
  2. # Django 4.1 mysql + Bootstrap + Crispy-forms > duhaz_p3d413:latest
  3. FROM python:3.12-rc-alpine
  4. VOLUME /mnt/projet
  5. WORKDIR /mnt/projet/
  6. RUN sed -i 's/https/http/' /etc/apk/repositories
  7. RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo
  8. RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
  9. RUN echo Europe/Brussels >' /etc/timezone
  10. RUN echo Europe/Paris >' /etc/TZ
  11. RUN unset TZ
  12. RUN apk del tzdata
  13. RUN pip install Django==4.1.3
  14. RUN pip install django-crispy-forms gunicorn django-import-export django-trumbowyg