dswnbone commited on
Commit
95baa7c
1 Parent(s): 40ff472

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,2 +1,6 @@
1
  FROM jokyo2/proxycfwebing
2
- EXPOSE 7860
 
 
 
 
 
1
  FROM jokyo2/proxycfwebing
2
+
3
+ PORT 7860
4
+ EXPOSE 7860
5
+ # 运行Gunicorn服务器,绑定0.0.0.0:8080,指定proxy:app为应用入口
6
+ CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"]