run a web pyfile with uvicorn , just like what streamlit does
2.1K
docker run --rm -it -e pyfile=http://...xxx.com/app/nldp/nldp.py -p 8889:80 wrask/uvirun
or -e tarfile , main.py must be included in the given tar file , which is the entry point for uvicorn
docker pull wrask/uvirun:latest