Update python & debian
This commit is contained in:
parent
f726774d21
commit
e3b08694a3
1 changed files with 5 additions and 5 deletions
10
Dockerfile
10
Dockerfile
|
@ -1,13 +1,13 @@
|
||||||
##############################################
|
##############################################
|
||||||
# Build virtualenv
|
# Build virtualenv
|
||||||
##############################################
|
##############################################
|
||||||
FROM python:3.10.2-buster AS venv
|
FROM python:3.10.4-bullseye AS venv
|
||||||
|
|
||||||
# Prepare system
|
# Prepare system
|
||||||
##############################################
|
##############################################
|
||||||
# https://python-poetry.org/docs/#installation
|
# https://python-poetry.org/docs/#installation
|
||||||
ENV POETRY_VERSION=1.1.11
|
ENV POETRY_VERSION=1.1.13
|
||||||
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
|
RUN curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
|
||||||
ENV PATH /root/.local/bin:$PATH
|
ENV PATH /root/.local/bin:$PATH
|
||||||
|
|
||||||
|
@ -47,9 +47,9 @@ RUN git rev-parse HEAD | tee /version
|
||||||
##############################################
|
##############################################
|
||||||
# Main image
|
# Main image
|
||||||
##############################################
|
##############################################
|
||||||
FROM python:3.10.2-slim-buster as prod
|
FROM python:3.10.4-slim-bullseye as prod
|
||||||
|
|
||||||
ENV TZ="Europe/Paris"
|
ENV TZ "Europe/Paris"
|
||||||
|
|
||||||
COPY --from=venv /app/venv /app/venv/
|
COPY --from=venv /app/venv /app/venv/
|
||||||
ENV PATH /app/venv/bin:$PATH
|
ENV PATH /app/venv/bin:$PATH
|
||||||
|
|
Loading…
Reference in a new issue