Spaces:
Build error
Build error
Download agents/example_agent/Dockerfile from sp103107/agent-system: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/sp103107/agent-system/resolve/main/agents/example_agent/Dockerfile
- Command line
-
hf download hf://spaces/sp103107/agent-system/agents/example_agent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sp103107/agent-system/resolve/main/agents/example_agent/Dockerfile
401 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| # Copy requirements first for better caching | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the agent code and shared files | |
| COPY example_agent.py . | |
| COPY ../base_agent.py . | |
| COPY ../scripts/google_docs_manager.py ./scripts/ | |
| # Create necessary directories | |
| RUN mkdir -p data scripts | |
| EXPOSE 8001 | |
| CMD ["python", "example_agent.py"] | |