From b70a9105e8503b1bea9e8741871d9a7abfb3d891 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 25 Mar 2022 19:27:14 +0100 Subject: [PATCH] Update python --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 533e27e..7b7b710 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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