fix: try fix ocr avx not support

This commit is contained in:
wizardchen
2025-09-11 11:45:34 +08:00
committed by lyingbug
parent 6598baab2e
commit bff0e742fa
2 changed files with 34 additions and 1 deletions
+2 -1
View File
@@ -126,12 +126,13 @@ RUN GRPC_HEALTH_PROBE_VERSION=v0.4.24 && \
COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
COPY --from=builder /usr/local/bin /usr/local/bin
COPY --from=builder /root/.paddleocr /root/.paddleocr
COPY --from=builder /app/src /app/src
# 安装 Playwright 浏览器
RUN python -m playwright install webkit
RUN python -m playwright install-deps webkit
COPY --from=builder /app/src /app/src
# 设置 Python 路径
ENV PYTHONPATH=/app/src
RUN cd /app/src && python -m download_deps