For EroZone 579 B

123456789101112131415
  1. #############################
  2. # For EroZone > erozone_p3d3114:lastest
  3. FROM python:alpine3.19
  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==3.1.14
  14. RUN pip install mysqlclient translators django-crispy-forms==1.14.0 gunicorn