Browse Source

Update python

master
Gabriel Augendre 2 months ago
parent
commit
b70a9105e8
  1. 9
      Dockerfile

9
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

Loading…
Cancel
Save