Vendor Python dependencies for offline image builds
This commit is contained in:
@@ -50,6 +50,9 @@ docker run --rm -p 8080:8080 \
|
||||
镜像监听 `8080` 端口,并处理 `SIGTERM`。收到停机信号后,后台等待和轮询
|
||||
会立即停止;进行中的 HTTP 请求最长等待 20 秒,随后关闭会话并退出。
|
||||
|
||||
`vendor/` 保存了 Linux x86_64 / Python 3.11 的离线 wheel。镜像构建不会访问
|
||||
PyPI,避免平台构建环境网络较慢时发生依赖下载超时。
|
||||
|
||||
运行时产生的断点文件位于 `/app/pipeline_outputs`。如需跨 Pod 保留断点,
|
||||
应为该目录挂载持久卷。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user