mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 15:34:16 +08:00
docs(legacy-cpu): 补充镜像体积说明与多 extras 用法
- 标注 legacy-cpu wheel 约 50MB,启用后镜像体积会相应增大 - 补充 BACKEND_EXTRAS 空格分隔可同时启用多个 extras 的用法
This commit is contained in:
@@ -198,6 +198,7 @@ docker compose up --build
|
||||
|
||||
```ini
|
||||
BACKEND_EXTRAS=legacy-cpu
|
||||
# 需要回测可同时启用(空格分隔):BACKEND_EXTRAS=legacy-cpu backtest
|
||||
```
|
||||
|
||||
```bash
|
||||
@@ -205,7 +206,7 @@ docker compose up --build
|
||||
```
|
||||
|
||||
`legacy-cpu` 会让后端安装 `polars[rtcompat]`,适用于不支持 AVX2/FMA 的老 CPU;
|
||||
默认留空则保持 Polars 高性能运行时。
|
||||
默认留空则保持 Polars 高性能运行时。该 wheel 约 50MB,启用后镜像体积会相应增大。
|
||||
|
||||
|
||||
首次运行会自动安装前后端依赖(约 1-2 分钟),之后直接启动:
|
||||
|
||||
Reference in New Issue
Block a user