Django 4.2.* pour Defitcoquin v2 627 B

123456789101112131415
  1. #############################
  2. # Django 4.2.17 pour Defitcoquin v2 > defitcoquin_p3d4214:lastest
  3. FROM python:alpine3.21
  4. VOLUME /mnt/projet
  5. WORKDIR /mnt/projet/
  6. RUN apk add tzdata build-base py-pip py3-mysqlclient mariadb-connector-c-dev g++ freetype-dev jpeg-dev gettext bash zlib-dev libxslt-dev libffi-dev
  7. RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
  8. RUN echo Europe/Brussels > /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==4.2.17
  14. RUN pip install pytz tzdata mysqlclient translators django-crispy-forms crispy-bootstrap4 gunicorn