Download Dockerfile from arimatch1/crewhub-agent-code-assistant: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/spaces/arimatch1/crewhub-agent-code-assistant/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arimatch1/crewhub-agent-code-assistant/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arimatch1/crewhub-agent-code-assistant/resolve/main/Dockerfile
517 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir \ | |
| fastapi uvicorn httpx litellm google-generativeai | |
| COPY demo_agents/__init__.py demo_agents/__init__.py | |
| COPY demo_agents/base.py demo_agents/base.py | |
| COPY demo_agents/code_assistant/__init__.py demo_agents/code_assistant/__init__.py | |
| COPY demo_agents/code_assistant/agent.py demo_agents/code_assistant/agent.py | |
| USER 1000 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "demo_agents.code_assistant.agent:app", "--host", "0.0.0.0", "--port", "7860"] | |