Django 3.2 Pour Tools.duhaz.fr 672 B

12345678910111213141516
  1. #############################
  2. # Django 3.2 Pour Tools.duhaz.fr> tools_duhaz_p3d3223: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 bind-tools g++ freetype-dev jpeg-dev zlib zlib-dev openssl libffi-dev
  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 gunicorn django-import-export django-trumbowyg Pillow urllib3 requests bs4