Spaces:
Paused
Paused
Download Dockerfile from rianopenclawsotuft/openclaw: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/rianopenclawsotuft/openclaw/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rianopenclawsotuft/openclaw/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rianopenclawsotuft/openclaw/resolve/main/Dockerfile
454 Bytes
| FROM node:22-slim | |
| # Install Gotty (easier for mobile) | |
| RUN apt-get update && apt-get install -y curl git procps | |
| RUN curl -L https://github.com/yudai/gotty/releases/download/v1.0.1/gotty_linux_amd64.tar.gz | tar xz -C /usr/local/bin | |
| # Setup OpenClaw | |
| WORKDIR /app | |
| RUN git clone https://github.com/OpenClaw/OpenClaw.git . && npm install -g pnpm && pnpm install | |
| EXPOSE 7860 | |
| # Start Gotty with -w (permit writing) | |
| CMD ["gotty", "-w", "-p", "7860", "bash"] | |