Skip to content

Commit

Permalink
build: 用回之前的写法方便分别控制 uv 和 python 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Dec 26, 2024
1 parent a7ec0d3 commit cf9ba7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/noneflow.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
FROM python:3.13.1-slim
COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /bin/uv

# 设置时区
ENV TZ=Asia/Shanghai
Expand Down
3 changes: 2 additions & 1 deletion docker/nonetest.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
FROM python:3.13.1-slim
COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /bin/uv

WORKDIR /app

Expand Down

0 comments on commit cf9ba7c

Please sign in to comment.