Django 3.2 pour tools.duhaz.fr 718 B

1234567891011121314151617
  1. #############################
  2. # Django 3.2 pour tools.duhaz.fr> tools_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 bind-tools g++ freetype-dev jpeg-dev zlib zlib-dev openssl
  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 Pillow urllib3 requests bs4 tzdata django-trumbowyg
  16. CMD '/bin/sh' 'guinicon_docker_start.bash'