Spaces:
Runtime error
Runtime error
Download Dockerfile from underrate/close-claw: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/underrate/close-claw/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/underrate/close-claw/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/underrate/close-claw/resolve/main/Dockerfile
575 Bytes
| FROM node:22-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| git \ | |
| python3 \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install OpenClaw globally | |
| RUN npm install -g openclaw | |
| # Create workspace | |
| RUN mkdir -p /root/.openclaw/workspace | |
| # Expose port | |
| EXPOSE 7860 | |
| # Environment variables | |
| ENV BASE_URL="" | |
| ENV API_KEY="" | |
| ENV MODEL_ID="Multiple-models" | |
| ENV PROVIDER_NAME="custom" | |
| ENV GATEWAY_TOKEN="hf-space-token" | |
| # Copy start script | |
| COPY start.sh /app/start.sh | |
| RUN chmod +x /app/start.sh | |
| CMD ["/app/start.sh"] | |