mirror of https://github.com/OpenVidu/openvidu.git
8 lines
303 B
Bash
Executable File
8 lines
303 B
Bash
Executable File
VERSION=$1
|
|
if [[ ! -z $VERSION ]]; then
|
|
cp ../utils/discover_my_public_ip.sh ./discover_my_public_ip.sh
|
|
docker build --pull --no-cache --rm=true -t openvidu/openvidu-server-pro:$VERSION .
|
|
rm ./discover_my_public_ip.sh
|
|
else
|
|
echo "Error: You need to specify a version as first argument"
|
|
fi |