Pin Cython for PyAV 10 build

This commit is contained in:
Coder
2026-09-02 17:14:28 +07:00
parent ce506eeeba
commit a0d076ee61

View File

@@ -74,7 +74,9 @@ RUN ln -s -f /usr/bin/python${PYTHON_VERSION} /usr/bin/python3 && \
# Python service setup # Python service setup
COPY ./transcription-api /app/transcription COPY ./transcription-api /app/transcription
WORKDIR /app/transcription WORKDIR /app/transcription
RUN pip install -r requirements.txt && \ RUN pip install "Cython<3" wheel && \
pip install "av==10.0.0" --no-build-isolation && \
pip install -r requirements.txt && \
pip install python-multipart && \ pip install python-multipart && \
pip3 install torch --index-url https://download.pytorch.org/whl/cu118 pip3 install torch --index-url https://download.pytorch.org/whl/cu118