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