File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,15 @@ mkdir -p models
5151docker run -d --name translation-service \
5252 -p 3000:3000 \
5353 -v " $( pwd) /models:/app/models" \
54- ghcr.io/LinguaSpark /server:main
54+ ghcr.io/linguaspark /server:main
5555```
5656
5757### Option 2: Using pre-built image with English-Chinese model (China mirror)
5858
5959``` bash
6060docker run -d --name translation-service \
6161 -p 3000:3000 \
62- docker.cnb.cool/LinguaSpark /server:latest
62+ docker.cnb.cool/linguaspark /server:latest
6363```
6464
6565> Note: The English-Chinese model image is about 70MiB, and each worker uses approximately 300MiB+ of memory with low translation latency.
@@ -71,7 +71,7 @@ Create a `compose.yaml` file:
7171``` yaml
7272services :
7373 translation-service :
74- image : ghcr.io/LinguaSpark /server:main
74+ image : ghcr.io/linguaspark /server:main
7575 ports :
7676 - " 3000:3000"
7777 volumes :
@@ -97,7 +97,7 @@ docker compose up -d
9797If you need to create a custom image with specific language pairs, use this Dockerfile template:
9898
9999``` dockerfile
100- FROM ghcr.io/LinguaSpark /server:main
100+ FROM ghcr.io/linguaspark /server:main
101101
102102COPY ./your-models-directory /app/models
103103
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Docker 是本服务**唯一推荐**的部署方式。
4444``` bash
4545docker run -d --name translation-service \
4646 -p 3000:3000 \
47- docker.cnb.cool/LinguaSpark /server:latest
47+ docker.cnb.cool/linguaspark /server:latest
4848```
4949
5050> 注意:自带英译中模型的镜像大小约 70MiB,启动后单 worker 大约占用内存 300MiB+,且翻译延迟较低。
@@ -59,7 +59,7 @@ mkdir -p models
5959docker run -d --name translation-service \
6060 -p 3000:3000 \
6161 -v " $( pwd) /models:/app/models" \
62- ghcr.io/LinguaSpark /server:main
62+ ghcr.io/linguaspark /server:main
6363```
6464
6565### Docker Compose 部署
@@ -69,7 +69,7 @@ docker run -d --name translation-service \
6969``` yaml
7070services :
7171 translation-service :
72- image : docker.cnb.cool/LinguaSpark /server:latest
72+ image : docker.cnb.cool/linguaspark /server:latest
7373 ports :
7474 - " 3000:3000"
7575 environment :
@@ -93,7 +93,7 @@ docker compose up -d
9393如果需要创建包含特定语言对的自定义镜像,可以使用以下 Dockerfile 模板:
9494
9595``` dockerfile
96- FROM ghcr.io/LinguaSpark /server:main
96+ FROM ghcr.io/linguaspark /server:main
9797
9898COPY ./your-models-directory /app/models
9999
You can’t perform that action at this time.
0 commit comments