diff --git a/scripts/images/runtime/Dockerfile b/scripts/images/runtime/Dockerfile index 45aa97f..7ba54e9 100644 --- a/scripts/images/runtime/Dockerfile +++ b/scripts/images/runtime/Dockerfile @@ -32,7 +32,7 @@ WORKDIR /opt/runtime RUN --mount=type=cache,target=/root/.cache/uv \ uv pip install -e .[all] --system \ && uv pip install -r /opt/runtime/datamate/ops/pyproject.toml --system \ - && python -m spacy download zh_core_web_sm \ + && uv pip install https://ghproxy.net/https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.8.0/zh_core_web_sm-3.8.0-py3-none-any.whl --system \ && echo "/usr/local/lib/ops/site-packages" > /usr/local/lib/python3.11/site-packages/ops.pth RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \