nginx / run_hf.sh
Xiao
react+flask to HF
0a64cc4
raw
history blame contribute delete
313 Bytes
#!/bin/bash
echo starting daemos
# service nginx start
nginx &
# Containers run nginx with global directives and daemon off
# nginx -g "daemon off;"
echo starting flask
export FLASK_APP=/app/app.py
python -m flask run --host=0.0.0.0 --port=8000 &
echo starting npm
#start npm
npm start
# npm run prod
echo done!