aip9105 commited on
Commit
fc5c7a8
ยท
verified ยท
1 Parent(s): 8b61f4f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -17,20 +17,19 @@ RUN npm install -g clawhub
17
 
18
  # ๅฎ‰่ฃ…ๅธธ็”จๆŠ€่ƒฝ
19
  RUN clawhub install liang-tavily-search
20
- RUN clawhub install github-search
21
- RUN clawhub install web-search
22
- RUN clawhub install knowledge-base-search
23
 
24
  # 3. ่ฎพ็ฝฎๅทฅไฝœ็›ฎๅฝ•ๅนถๆ‹ท่ด่„šๆœฌ
25
  COPY . /app
26
  WORKDIR /app
27
  COPY sync.py .
28
  COPY start-openclaw.sh .
29
- COPY tavily_search.py ./scripts
30
  RUN chmod +x start-openclaw.sh
31
 
32
  # 4. ็Žฏๅขƒๅ˜้‡
 
 
33
  ENV PORT=7860 HOME=/root
34
 
 
35
  EXPOSE 7860
36
  CMD ["./start-openclaw.sh"]
 
17
 
18
  # ๅฎ‰่ฃ…ๅธธ็”จๆŠ€่ƒฝ
19
  RUN clawhub install liang-tavily-search
 
 
 
20
 
21
  # 3. ่ฎพ็ฝฎๅทฅไฝœ็›ฎๅฝ•ๅนถๆ‹ท่ด่„šๆœฌ
22
  COPY . /app
23
  WORKDIR /app
24
  COPY sync.py .
25
  COPY start-openclaw.sh .
 
26
  RUN chmod +x start-openclaw.sh
27
 
28
  # 4. ็Žฏๅขƒๅ˜้‡
29
+ RUN chmod 700 /root && mkdir -p /root/.openclaw/workspace/scripts
30
+ COPY tavily_search.py /root/.openclaw/workspace/scripts
31
  ENV PORT=7860 HOME=/root
32
 
33
+
34
  EXPOSE 7860
35
  CMD ["./start-openclaw.sh"]