mirror of
https://github.com/R0GGER/iperf3-map.git
synced 2026-11-11 01:20:06 +01:00
Use gunicorn
use gunicorn, which is a production-ready WSGI server
This commit is contained in:
1 parent
762418db49
commit
27cbbaadef
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -13,5 +13,5 @@ EXPOSE 5000
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "-w", "1", "app:app"]
|
||||
|
||||
@@ -2,3 +2,4 @@ flask
|
||||
requests
|
||||
geopy
|
||||
geonamescache
|
||||
gunicorn
|
||||
Reference in new issue
Block a user