Update python

This commit is contained in:
Gabriel Augendre 2022-03-25 19:27:14 +01:00
parent 1f2946bd3f
commit b70a9105e8

View file

@ -1,5 +1,5 @@
## Build venv
FROM python:3.10.2-bullseye AS venv
FROM python:3.10.4-bullseye AS venv
# https://python-poetry.org/docs/#installation
ENV POETRY_VERSION=1.1.13
@ -28,10 +28,9 @@ RUN git rev-parse HEAD | tee /version
## Beginning of runtime image
FROM python:3.10.2-slim-bullseye as prod
RUN echo "Europe/Paris" > /etc/timezone \
&& mkdir /db
FROM python:3.10.4-slim-bullseye as prod
ENV TZ "Europe/Paris"
RUN mkdir /db
COPY --from=venv /app/venv /app/venv/
ENV PATH /app/venv/bin:$PATH