Skip to content

Commit 5de9b7d

Browse files
chore: update uv source
1 parent 8cbad5a commit 5de9b7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN test -f "./uv.lock" && \
2828
--mount=type=cache,target=/root/.cache/uv \
2929
--mount=type=bind,source=backend/uv.lock,target=uv.lock \
3030
--mount=type=bind,source=backend/pyproject.toml,target=pyproject.toml \
31-
uv sync --frozen --no-install-project
31+
uv sync --frozen --no-install-project || echo "uv.lock file not found, skipping intermediate-layers"
3232

3333
COPY ./backend ${APP_HOME}
3434

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"oracledb (>=3.1.1,<4.0.0)"
3636
]
3737
[[tool.uv.index]]
38-
url = "https://mirrors.aliyun.com/pypi/simple"
38+
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
3939
default = true
4040

4141
[tool.uv]

0 commit comments

Comments
 (0)