Spaces:
Running
Running
OpenClaw Agent commited on
Commit ·
da1c484
1
Parent(s): 1557f14
Enable skills: add gh, ripgrep, claude-code, mcporter
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -19,6 +19,8 @@ RUN apt-get update && apt-get install -y \
|
|
| 19 |
curl \
|
| 20 |
python3 \
|
| 21 |
python3-pip \
|
|
|
|
|
|
|
| 22 |
--no-install-recommends && \
|
| 23 |
pip3 install --no-cache-dir --break-system-packages huggingface_hub && \
|
| 24 |
rm -rf /var/lib/apt/lists/*
|
|
@@ -34,6 +36,9 @@ COPY --from=openclaw --chown=1000:1000 /app /home/node/.openclaw/openclaw-app
|
|
| 34 |
RUN ln -s /home/node/.openclaw/openclaw-app/openclaw.mjs /usr/local/bin/openclaw 2>/dev/null || \
|
| 35 |
npm install -g openclaw@${OPENCLAW_VERSION}
|
| 36 |
|
|
|
|
|
|
|
|
|
|
| 37 |
# Copy HuggingClaw files
|
| 38 |
COPY --chown=1000:1000 dns-fix.js /opt/dns-fix.js
|
| 39 |
COPY --chown=1000:1000 health-server.js /home/node/app/health-server.js
|
|
@@ -54,4 +59,4 @@ WORKDIR /home/node/app
|
|
| 54 |
|
| 55 |
EXPOSE 7861
|
| 56 |
|
| 57 |
-
CMD ["/home/node/app/start.sh"]
|
|
|
|
| 19 |
curl \
|
| 20 |
python3 \
|
| 21 |
python3-pip \
|
| 22 |
+
ripgrep \
|
| 23 |
+
gh \
|
| 24 |
--no-install-recommends && \
|
| 25 |
pip3 install --no-cache-dir --break-system-packages huggingface_hub && \
|
| 26 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
| 36 |
RUN ln -s /home/node/.openclaw/openclaw-app/openclaw.mjs /usr/local/bin/openclaw 2>/dev/null || \
|
| 37 |
npm install -g openclaw@${OPENCLAW_VERSION}
|
| 38 |
|
| 39 |
+
# Install global NPM tools for skills
|
| 40 |
+
RUN npm install -g @anthropic-ai/claude-code mcporter
|
| 41 |
+
|
| 42 |
# Copy HuggingClaw files
|
| 43 |
COPY --chown=1000:1000 dns-fix.js /opt/dns-fix.js
|
| 44 |
COPY --chown=1000:1000 health-server.js /home/node/app/health-server.js
|
|
|
|
| 59 |
|
| 60 |
EXPOSE 7861
|
| 61 |
|
| 62 |
+
CMD ["/home/node/app/start.sh"]
|