diff --git a/.github/.dependabot.yml b/.github/.dependabot.yml index c607e6e..3e89a1d 100644 --- a/.github/.dependabot.yml +++ b/.github/.dependabot.yml @@ -14,8 +14,8 @@ updates: prefix-development: chore include: scope - # Fetch and update latest `poetry` - - package-ecosystem: poetry + # Fetch and update latest `python` packages + - package-ecosystem: pip directory: '/' schedule: interval: daily diff --git a/Dockerfile b/Dockerfile index b0069bc..84e7db3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,10 @@ FROM python:${PYTHON_VERSION}-${VARIANT} as base ENV PYTHONUNBUFFERED=1 -RUN python -m ensurepip --upgrade -RUN pip install --upgrade setuptools +COPY ./requirements.txt ./ + +RUN python -m ensurepip +RUN pip install -r requirements.txt && rm requirements.txt ARG POETRY_VERSION=1.8.3 ENV POETRY_HOME=/opt/poetry\ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3cba4cd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +pip==24.2 +setuptools==75.1.0