openvidu/docker/create_image_demos.sh
2025-03-10 19:25:11 +01:00

10 lines
370 B
Bash
Executable File

#!/bin/bash -x
IMAGE="${1:-?echo "Error: You need to specify an image name as first argument"?}"
if [[ -n $IMAGE ]]; then
cd ..
export BUILDKIT_PROGRESS=plain && docker build --pull --no-cache --rm=true -f docker/Dockerfile -t "$IMAGE"-demos --build-arg BASE_HREF=/openvidu-meet/ .
else
echo "Error: You need to specify the image name as first argument"
fi