Django 3.2 mysql + Bootstrap + Crispy-forms 595 B

1234567891011121314151617
  1. #############################
  2. # Django 3.2 Bootstrap + Crispy-forms > duhaz_p3d32x:latest
  3. FROM python:alpine3.19
  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 --upgrade pip
  14. RUN pip install Django==3.2.23
  15. RUN pip install django-crispy-forms==1.12.0 gunicorn django-import-export django-trumbowyg
  16. CMD '/bin/sh'