Spaces:
Build error
Build error
Download Dockerfile from Kpd81/HuggingClaw: direct link, hf CLI and curl.
- Browser
- Download file 592 Bytes
-
https://huggingface.co/spaces/Kpd81/HuggingClaw/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Kpd81/HuggingClaw/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Kpd81/HuggingClaw/resolve/main/Dockerfile
592 Bytes
| FROM docker.io/library/node:22-bookworm | |
| SHELL ["/bin/bash", "-c"] | |
| # Install dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| python3 \ | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Allow pip install on Debian | |
| RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub | |
| # Install pnpm | |
| RUN corepack enable | |
| # Clone OpenClaw | |
| RUN git clone https://github.com/openclaw/openclaw.git /openclaw | |
| WORKDIR /openclaw | |
| # Install dependencies | |
| RUN pnpm install | |
| # Build OpenClaw | |
| RUN pnpm build | |
| # HF Space port | |
| EXPOSE 7860 | |
| CMD ["node","dist/entry.js"] |