update Dockerfile
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM git.modelhub.org.cn:9443/enginex-iluvatar/mr100_corex:4.3.0
|
||||
FROM corex:4.3.0
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
```shell
|
||||
#构建docker镜像
|
||||
docker build . -t mr_translation
|
||||
其中,基础镜像 corex:4.3.0 通过联系天数智芯智铠100厂商技术支持可获取
|
||||
|
||||
#运行docker容器
|
||||
docker run -it -p 10078:80 --device=/dev/iluvatar0:/dev/iluvatar0 -e MODEL_TYPE=opus_mt -e MODEL_NAME=moxying/opus-mt-zh-en --name mr_translation_test mr_translation
|
||||
|
||||
Reference in New Issue
Block a user