Tea78 commited on
Commit
0bebd3a
·
verified ·
1 Parent(s): 65084ba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  FROM node:22-slim
2
  RUN apt-get update && apt-get install -y curl git
3
  RUN npm install -g openclaw@latest
 
 
 
 
4
  EXPOSE 3000
5
  CMD ["openclaw", "gateway", "run", "--port", "3000", "--verbose"]
 
1
  FROM node:22-slim
2
  RUN apt-get update && apt-get install -y curl git
3
  RUN npm install -g openclaw@latest
4
+
5
+ # 创建最小配置
6
+ RUN mkdir -p /root/.openclaw && echo '{"gateway":{"mode":"local"}}' > /root/.openclaw/openclaw.json
7
+
8
  EXPOSE 3000
9
  CMD ["openclaw", "gateway", "run", "--port", "3000", "--verbose"]