mirror of
https://github.com/modelscope/modelscope.git
synced 2026-09-01 19:49:03 +02:00
[to #42362932] feat: docker_support
* add dockerfile * uninstall opencv-python-headless * update develop doc Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9020302
This commit is contained in:
@@ -93,3 +93,22 @@ TODO
|
||||
```bash
|
||||
make whl
|
||||
```
|
||||
|
||||
## Build docker
|
||||
|
||||
build develop docker
|
||||
```bash
|
||||
sudo make -f Makefile.docker devel-image
|
||||
```
|
||||
|
||||
push develop docker, passwd pls ask wenmeng.zwm
|
||||
```bash
|
||||
sudo docker login --username=mass_test@test.aliyunid.com registry.cn-shanghai.aliyuncs.com
|
||||
Password:
|
||||
sudo make -f Makefile.docker devel-push
|
||||
```
|
||||
|
||||
To build runtime image, just replace `devel` with `runtime` in the upper commands.
|
||||
```bash
|
||||
udo make -f Makefile.docker runtime-image runtime-push
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user