Update python
This commit is contained in:
parent
1f2946bd3f
commit
b70a9105e8
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Reference in a new issue