Spaces:
Build error
Build error
Download agents/example_agent_backup/Dockerfile from sp103107/agent-system: direct link, hf CLI and curl.
- Browser
- Download file 512 Bytes
-
https://huggingface.co/spaces/sp103107/agent-system/resolve/main/agents/example_agent_backup/Dockerfile
- Command line
-
hf download hf://spaces/sp103107/agent-system/agents/example_agent_backup/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sp103107/agent-system/resolve/main/agents/example_agent_backup/Dockerfile
512 Bytes
| FROM python:3.9-slim | |
| # Install system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY . . | |
| # Create necessary directories | |
| RUN mkdir -p data/langgraph data/logs data/cache data/model_cache data/temp | |
| # Expose port | |
| EXPOSE 8000 | |
| # Start agent | |
| CMD ["python", "example_agent_backup.py"] | |