Fix timezone probleme
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Dryusdan 2023-11-06 18:47:10 +01:00
parent eb997e8b76
commit bf0049b031
Signed by: Dryusdan
GPG key ID: EC1438DDE24E27D7

View file

@ -4,7 +4,11 @@ COPY ./ /app
WORKDIR /app
RUN apk add -U --no-cache --virtual builds gcc musl-dev libffi-dev \
ENV TZ Europe/Paris
RUN cp /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone \
&& apk add -U --no-cache --virtual builds gcc musl-dev libffi-dev \
&& pip3 install poetry \
&& poetry install --only main \
&& apk del builds