fix: unpin pip tooling in Docker build

Allow Docker builds to install the latest pip and pip-tools versions instead of constraining them, reducing maintenance overhead from version pin drift.

Made-with: Cursor
This commit is contained in:
DDSRem
2026-03-24 19:59:32 +08:00
parent 517300afe9
commit 4612d3cdde

View File

@@ -67,8 +67,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR /app
COPY requirements.in requirements.in
RUN python3 -m venv ${VENV_PATH} \
&& pip install --upgrade "pip<25.0" \
&& pip install "Cython~=3.1.2" "pip-tools<7.5" \
&& pip install --upgrade "pip" \
&& pip install "Cython~=3.1.2" "pip-tools" \
&& pip-compile requirements.in \
&& pip install -r requirements.txt