Files
DeepSeekHarnessDocker/README.zh.md
T
SKYMirror 0bfe0b4a65 chore: strip monorepo; keep Docker runtime deploy for official dsh@latest
Image installs @deepseek-ai/dsh from npm on start. Fork 0.1.2-alpha.2 source
is obsolete for this deployment path.
2026-09-16 00:18:32 +08:00

30 lines
1005 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# DeepSeek Harness Docker 部署
[DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(`dsh`)Web UI 的运行时镜像。
镜像只内置工具链。容器每次启动由 `docker/entrypoint.sh` 从 npm 安装官方 `@deepseek-ai/dsh@latest`,再经本地端口转发(`0.0.0.0:3080` → `127.0.0.1:3081`)启动 `dsh web`。
## 快速开始
```bash
docker compose build
docker compose up -d
docker logs -f dsh
# 用日志里带 ?token= 的 URL 打开一次(30 天 cookie)。宿主机访问 3080。
```
完整说明:[DEPLOY.md](DEPLOY.md)
## 目录
| 路径 | 作用 |
|------|------|
| `Dockerfile` | 工具链镜像(Node 24 / Python 3.11 / gcc / pnpm / rustup 引导) |
| `docker-compose.yml` | 端口、`dsh-data` 卷、工作区挂载 |
| `docker/entrypoint.sh` | 安装 `@deepseek-ai/dsh@latest` 并启动 web |
| `docker/ensure-rust.sh` | Rust 按需安装包装器 |
## 许可
MIT — 见 [LICENSE](LICENSE)。上游 DSH 为 MIT;本仓库是部署封装。