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 7d2e3c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion docker/noneflow.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
# 这样能分别控制 uv 和 Python 版本
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
4 changes: 3 additions & 1 deletion docker/nonetest.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
# 这样能分别控制 uv 和 Python 版本
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 7d2e3c6

Please sign in to comment.