Django 3.2 mysql + Bootstrap + Crispy-forms 552 B

123456789101112131415
  1. #############################
  2. # Django 3.2 mysql + Bootstrap + Crispy-forms > duhaz_p3d32x:latest
  3. FROM python:rc-alpine3.12
  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==3.2.4
  14. RUN pip install django-crispy-forms gunicorn django-import-export django-trumbowyg