airsltd commited on
Commit
abe5861
·
1 Parent(s): 755509d
Files changed (1) hide show
  1. Dockerfile +7 -6
Dockerfile CHANGED
@@ -21,17 +21,18 @@ RUN git config --global url."https://github.com/".insteadOf "git@github.com:" &&
21
  # Install OpenClaw globally
22
  RUN npm install -g openclaw@latest
23
 
24
- # Install DingTalk plugin using npm directly
25
- RUN npm install -g @soimy/dingtalk || true
26
-
27
  WORKDIR /app
28
 
29
  # Copy openclaw config
30
  COPY openclaw.json /home/node/.openclaw/openclaw.json
31
  RUN mkdir -p /home/node/.openclaw/workspace
32
 
33
- COPY entrypoint.sh /app/entrypoint.sh
34
- RUN chmod +x /app/entrypoint.sh
 
 
 
 
35
 
36
  # Fix permissions for HF Spaces (run as node user, UID 1000)
37
  RUN chown -R node:node /app /home/node
@@ -40,4 +41,4 @@ USER node
40
 
41
  # Default port (compatible with HF Spaces standard)
42
  EXPOSE 7860
43
- ENTRYPOINT ["/app/entrypoint.sh"]
 
21
  # Install OpenClaw globally
22
  RUN npm install -g openclaw@latest
23
 
 
 
 
24
  WORKDIR /app
25
 
26
  # Copy openclaw config
27
  COPY openclaw.json /home/node/.openclaw/openclaw.json
28
  RUN mkdir -p /home/node/.openclaw/workspace
29
 
30
+ # Install Chinese channel plugins (QQ, Enterprise WeChat, DingTalk, Feishu)
31
+ # These are optional - if they fail, the gateway still works
32
+ RUN openclaw plugins install @openclawcity/dingtalk 2>/dev/null || true && \
33
+ openclaw plugins install @openclawcity/qq 2>/dev/null || true && \
34
+ openclaw plugins install @openclawcity/wecom 2>/dev/null || true && \
35
+ openclaw plugins install @openclawcity/feishu 2>/dev/null || true
36
 
37
  # Fix permissions for HF Spaces (run as node user, UID 1000)
38
  RUN chown -R node:node /app /home/node
 
41
 
42
  # Default port (compatible with HF Spaces standard)
43
  EXPOSE 7860
44
+ CMD ["openclaw", "gateway"]