Spaces:
Paused
Paused
Download Dockerfile from saadpie/openclaw-server: direct link, hf CLI and curl.
- Browser
- Download file 462 Bytes
-
https://huggingface.co/spaces/saadpie/openclaw-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/saadpie/openclaw-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/saadpie/openclaw-server/resolve/main/Dockerfile
462 Bytes
| FROM node:20 | |
| # Install basic tools for the agent | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| ffmpeg \ | |
| git \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy package files and install dependencies | |
| COPY package*.json ./ | |
| RUN npm install | |
| # Copy project files | |
| COPY . . | |
| # Build TypeScript | |
| RUN npx tsc | |
| # Expose the port | |
| EXPOSE 3000 | |
| # Start the self-executing agent server | |
| CMD ["node", "dist/api/index.js"] | |