|
@@ -1,5 +1,5 @@
|
|
#############################
|
|
#############################
|
|
-# Django 3.2 mysql + Bootstrap + Crispy-forms >' duhaz_p3d324:latest
|
|
|
|
|
|
+# Django 3.2 mysql + Bootstrap + Crispy-forms > duhaz_p3d32x:latest
|
|
|
|
|
|
FROM python:rc-alpine3.12
|
|
FROM python:rc-alpine3.12
|
|
VOLUME /mnt/projet
|
|
VOLUME /mnt/projet
|
|
@@ -7,8 +7,8 @@ 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
|
|
RUN apk add tzdata build-base py-pip libffi-dev openssl-dev cargo
|
|
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/Paris >' /etc/TZ
|
|
|
|
|
|
+RUN echo Europe/Brussels > /etc/timezone
|
|
|
|
+RUN echo Europe/Paris > /etc/TZ
|
|
RUN unset TZ
|
|
RUN unset TZ
|
|
RUN apk del tzdata
|
|
RUN apk del tzdata
|
|
RUN pip install Django==3.2.4
|
|
RUN pip install Django==3.2.4
|