dscdls commited on
Commit
b600148
·
verified ·
1 Parent(s): 6d3f3e7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -23,8 +23,5 @@ ENV MOLT_SKIP_SERVICE_CHECK=true
23
  ENV HOST=0.0.0.0
24
 
25
  EXPOSE 7860
26
-
27
- # ... 前面保持不变 ...
28
-
29
- # 移除 --no-service,直接运行 gateway
30
- CMD ["node", "dist/index.js", "gateway", "run", "--port", "7860"]
 
23
  ENV HOST=0.0.0.0
24
 
25
  EXPOSE 7860
26
+ # 使用 --allow-unconfigured 强行启动,并设置模式为 local
27
+ CMD ["node", "dist/index.js", "gateway", "run", "--port", "7860", "--allow-unconfigured", "--gateway.mode=local"]