|
@@ -5,7 +5,7 @@ FROM python:3.13.9-alpine3.22
|
|
|
VOLUME /mnt/projet
|
|
VOLUME /mnt/projet
|
|
|
WORKDIR /mnt/projet/
|
|
WORKDIR /mnt/projet/
|
|
|
RUN sed -i 's/https/http/' /etc/apk/repositories
|
|
RUN sed -i 's/https/http/' /etc/apk/repositories
|
|
|
-RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo git py3-mysqlclient mariadb-connector-c-dev
|
|
|
|
|
|
|
+RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo git
|
|
|
RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
|
RUN cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
|
|
|
RUN echo Europe/Brussels > /etc/timezone
|
|
RUN echo Europe/Brussels > /etc/timezone
|
|
|
RUN echo Europe/Paris > /etc/TZ
|
|
RUN echo Europe/Paris > /etc/TZ
|
|
@@ -13,5 +13,5 @@ RUN unset TZ
|
|
|
RUN apk del tzdata
|
|
RUN apk del tzdata
|
|
|
RUN pip install --upgrade pip
|
|
RUN pip install --upgrade pip
|
|
|
RUN pip install Django==5.1.13
|
|
RUN pip install Django==5.1.13
|
|
|
-RUN pip install django-crispy-forms gunicorn django-import-export python-dotenv django-tinymce tzdata crispy-bootstrap4 mysqlclient
|
|
|
|
|
|
|
+RUN pip install django-crispy-forms gunicorn django-import-export python-dotenv django-tinymce tzdata crispy-bootstrap4
|
|
|
CMD '/bin/sh'
|
|
CMD '/bin/sh'
|