Spaces:
Sleeping
Sleeping
File size: 421 Bytes
36ac252 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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"] |