Spaces:
Sleeping
Sleeping
Download Dockerfile from megar74877/cloud-code-api: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/megar74877/cloud-code-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/megar74877/cloud-code-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/megar74877/cloud-code-api/resolve/main/Dockerfile
421 Bytes
| FROM python:3.11-slim | |
| # Install git and clone the proxy repository | |
| RUN apt-get update && apt-get install -y git | |
| RUN git clone https://github.com/fuergaosi233/claude-code-proxy.git /app | |
| WORKDIR /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Hugging Face Spaces exposes port 7860 by default | |
| ENV HOST=0.0.0.0 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Start the proxy | |
| CMD ["python", "start_proxy.py"] |