完善docker构建发布脚本
This commit is contained in:
parent
901e7530e6
commit
94bb094822
@ -32,4 +32,5 @@ docker build --rm=true -f ./Dockerfile -t bj-rtsts-server:1.0 ./
|
|||||||
|
|
||||||
docker run --name bj-rtsts-server --restart=always --network mynet --ip 192.168.53.191 -d -p 9091:9091 -v /usr/local/joylink/logs/bjrtsts:/logs/bjrtsts bj-rtsts-server:1.0 bj-rtsts-server -config $CONFIG
|
docker run --name bj-rtsts-server --restart=always --network mynet --ip 192.168.53.191 -d -p 9091:9091 -v /usr/local/joylink/logs/bjrtsts:/logs/bjrtsts bj-rtsts-server:1.0 bj-rtsts-server -config $CONFIG
|
||||||
|
|
||||||
docker image prune -a
|
# 删除构建过程产生的none镜像
|
||||||
|
docker rmi -f `docker images | grep '<none>' | awk '{print $3}'`
|
||||||
|
Loading…
Reference in New Issue
Block a user