poetry and pip updated

This commit is contained in:
Dmitry Afanasyev 2022-02-14 20:24:09 +03:00
parent 6219a0375c
commit 806f4ae2f7

View File

@ -1,4 +1,4 @@
FROM python:3.7.9 FROM python:3.10.2
# python: # python:
ENV PYTHONFAULTHANDLER=1 \ ENV PYTHONFAULTHANDLER=1 \
@ -10,7 +10,7 @@ ENV PYTHONFAULTHANDLER=1 \
PIP_DISABLE_PIP_VERSION_CHECK=on \ PIP_DISABLE_PIP_VERSION_CHECK=on \
PIP_DEFAULT_TIMEOUT=100 \ PIP_DEFAULT_TIMEOUT=100 \
# poetry: # poetry:
POETRY_VERSION=1.1.11 \ POETRY_VERSION=1.1.13 \
POETRY_NO_INTERACTION=1 \ POETRY_NO_INTERACTION=1 \
POETRY_VIRTUALENVS_CREATE=false \ POETRY_VIRTUALENVS_CREATE=false \
POETRY_CACHE_DIR='/var/cache/pypoetry' \ POETRY_CACHE_DIR='/var/cache/pypoetry' \
@ -30,6 +30,7 @@ RUN apt update \
# Installing `poetry` package manager: # Installing `poetry` package manager:
# # https://github.com/python-poetry/poetry # # https://github.com/python-poetry/poetry
# && curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - # && curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
&& pip install --upgrade pip \
&& pip install poetry && pip install poetry
COPY ./pyproject.toml /code/ COPY ./pyproject.toml /code/