diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5e4565d..8a51ec96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,14 @@ jobs: - uses: actions/checkout@v4 - - name: Install pip install build tools + - name: Upgrade pip + run: >- + python -m + pip install + --upgrade + pip + + - name: Install build tools run: >- python -m pip install diff --git a/docker-files/alpine.Dockerfile b/docker-files/alpine.Dockerfile index a7624b4b..3fe9b19d 100644 --- a/docker-files/alpine.Dockerfile +++ b/docker-files/alpine.Dockerfile @@ -52,6 +52,8 @@ RUN apk add --no-cache \ libffi-dev \ openssl-dev +RUN python${PYTHON_VERSION} -m pip --version + RUN python${PYTHON_VERSION} -m venv --without-pip venv COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-requirements.txt ./ diff --git a/docker-files/ubuntu.Dockerfile b/docker-files/ubuntu.Dockerfile index be5bc09d..6fd559e3 100644 --- a/docker-files/ubuntu.Dockerfile +++ b/docker-files/ubuntu.Dockerfile @@ -49,6 +49,8 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +RUN python${PYTHON_VERSION} -m pip --version + RUN python${PYTHON_VERSION} -m venv --without-pip venv COPY requirements.txt docker-requirements.txt webui-requirements.txt optional-requirements.txt ./