ZJF-Thunder
添加文件
e26e560
raw
history blame contribute delete
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