File size: 372 Bytes
223aff6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
docker image rm ccdesue/vits_demo:onnx -f --no-prune
docker build -t ccdesue/vits_demo:onnx .

function run()
{
export name=vits_onnx
docker stop $name
docker rm $name
docker run -d \
--name $name \
-p 7860:7860 \
ccdesue/vits_demo:onnx
}

# docker run --rm -it -p 7860:7860/tcp ccdesue/vits_demo:onnx  bash

function push(){
    
    docker push ccdesue/vits_demo:onnx
}