Spaces:
Sleeping
Sleeping
File size: 197 Bytes
174ad5e |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#!/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
|