occlum/demos/python/flask/run_flask_on_occlum.sh
2022-03-07 16:05:08 +08:00

11 lines
171 B
Bash
Executable File

#!/bin/bash
set -e
BLUE='\033[1;34m'
NC='\033[0m'
# Run the python demo
cd occlum_instance
echo -e "${BLUE}occlum run /bin/rest_api.py${NC}"
occlum run /bin/rest_api.py