强制cpu rtorch

This commit is contained in:
2026-04-02 13:58:59 +08:00
parent e3541f8d43
commit d3e59bc7f3
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ WORKDIR /backend
COPY backend/pyproject.toml backend/uv.lock ./
RUN --mount=type=cache,target=/root/.cache/uv \
pip install --no-cache-dir uv && \
uv sync --frozen --no-dev
uv sync --frozen --no-dev --index https://pypi.tuna.tsinghua.edu.cn/simple/
# 复制后端代码
COPY backend/app ./app