diff --git a/Dockerfile b/Dockerfile index f39b8607..314e064b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN test -f "./uv.lock" && \ --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=backend/uv.lock,target=uv.lock \ --mount=type=bind,source=backend/pyproject.toml,target=pyproject.toml \ - uv sync --frozen --no-install-project + uv sync --frozen --no-install-project || echo "uv.lock file not found, skipping intermediate-layers" COPY ./backend ${APP_HOME} diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 192d20b3..f1f911ac 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "oracledb (>=3.1.1,<4.0.0)" ] [[tool.uv.index]] -url = "https://mirrors.aliyun.com/pypi/simple" +url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" default = true [tool.uv]