Added waitress production server script
This commit is contained in:
parent
f51f324a30
commit
cf6845c303
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
Flask==1.0.2
|
||||
Pillow==5.3.0
|
||||
Click==7.0
|
||||
waitress==1.1.0
|
||||
|
|
8
server.py
Executable file
8
server.py
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from waitress import serve
|
||||
|
||||
import slider
|
||||
|
||||
serve(slider.app, host="0.0.0.0", port=8080)
|
||||
|
Loading…
Reference in a new issue