Skip to content

Commit

Permalink
build: 补上漏掉的 UV_FROZEN
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Dec 26, 2024
1 parent 213bea8 commit a7ec0d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/noneflow.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ENV TZ=Asia/Shanghai
# 启用字节码编译,加速 NoneFlow 启动
ENV UV_COMPILE_BYTECODE=1

# 在不更新 uv.lock 文件的情况下运行
ENV UV_FROZEN=1

# 从缓存中复制而不是链接,因为缓存是挂载的
ENV UV_LINK_MODE=copy

Expand Down
3 changes: 3 additions & 0 deletions docker/nonetest.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ENV TZ=Asia/Shanghai
# 启用字节码编译,加速 NoneFlow 启动
ENV UV_COMPILE_BYTECODE=1

# 在不更新 uv.lock 文件的情况下运行
ENV UV_FROZEN=1

# 从缓存中复制而不是链接,因为缓存是挂载的
ENV UV_LINK_MODE=copy

Expand Down

0 comments on commit a7ec0d3

Please sign in to comment.