Django 3.1 mysql + Bootstrap + Crispy-forms 655 B

123456789101112131415
  1. #############################
  2. # Django 3.1 mysql + Bootstrap + Crispy-forms > duhaz_p3d3112:latest
  3. FROM python:alpine3.19
  4. VOLUME /mnt/projet
  5. WORKDIR /mnt/projet/
  6. RUN apk add tzdata build-base py-pip py3-mysqlclient mariadb-connector-c-dev libffi-dev openssl-dev cargo
  7. RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
  8. RUN echo Europe/Paris > /etc/timezone
  9. RUN echo Europe/Paris > /etc/TZ
  10. RUN unset TZ
  11. RUN apk del tzdata
  12. RUN pip install --upgrade pip
  13. RUN pip install Django==3.2.23
  14. RUN pip install mysqlclient django-crispy-forms==1.12.0 gunicorn social-auth-app-django django-import-export django-trumbowyg unidecode bleach feedparser beautifulsoup4