Mountchicken's picture
[Update] Inital Update
174ad5e
raw
history blame
197 Bytes
#!/bin/bash
set -e
if [[ "$1" = "serve" ]]; then
shift 1
torchserve --start --ts-config /home/model-server/config.properties
else
eval "$@"
fi
# prevent docker exit
tail -f /dev/null