chore(Dockerfile): upgrade pip to version 25.3 due to vuln in older version.
Some checks failed
CI / test-backend (push) Successful in 4s
CI / test-backend (pull_request) Successful in 4s
Build and Publish Docker Image / build (pull_request) Has been skipped
CI / build-frontend (push) Successful in 1m30s
CI / test-lang (push) Successful in 1m29s
OSV-Scanner PR Scan / scan-pr (pull_request) Successful in 46s
CI / lint (push) Failing after 5m10s
CI / lint (pull_request) Failing after 5m12s
CI / test-lang (pull_request) Successful in 9m39s
CI / build-frontend (pull_request) Successful in 9m47s
Tests / test (push) Successful in 13m37s
Build and Publish Docker Image / build-dev (pull_request) Successful in 14m25s
Tests / test (pull_request) Failing after 24m55s
Build Test / Build and Test (pull_request) Failing after 42m0s
Build Test / Build and Test (push) Failing after 43m5s

This commit is contained in:
2026-01-08 12:39:31 -06:00
parent 115b01ee65
commit 2652f1dd87

View File

@@ -21,7 +21,7 @@ RUN apk add --no-cache gcc musl-dev linux-headers python3-dev libffi-dev openssl
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY pyproject.toml poetry.lock ./
RUN pip install --no-cache-dir poetry setuptools wheel && \
RUN pip install --no-cache-dir "pip>=25.3" poetry setuptools wheel && \
poetry config virtualenvs.create false && \
poetry install --no-root --only main
@@ -41,6 +41,7 @@ WORKDIR /app
# Install runtime dependencies only
# We keep py3-setuptools because CFFI/LXST might need it at runtime on Python 3.12+
RUN apk add --no-cache ffmpeg opusfile libffi su-exec py3-setuptools espeak-ng && \
python -m pip install --no-cache-dir --upgrade "pip>=25.3" && \
addgroup -g 1000 meshchat && adduser -u 1000 -G meshchat -S meshchat && \
mkdir -p /config && chown meshchat:meshchat /config