CoolFace
Apppublic

shekkari21/agent-from-scratch

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
Dockerfile41 linesDownload Raw Back to root
1FROM python:3.12-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && apt-get install -y --no-install-recommends \7    build-essential \8    && rm -rf /var/lib/apt/lists/*9 10# Copy and install Python dependencies11COPY pyproject.toml .12RUN pip install --no-cache-dir \13    fastapi>=0.100.0 \14    litellm>=1.81.3 \15    openai>=1.101.0 \16    pydantic>=2.11.7 \17    python-dotenv>=1.1.1 \18    python-multipart>=0.0.6 \19    uvicorn>=0.23.0 \20    tavily-python>=0.7.11 \21    openpyxl>=3.1.5 \22    pandas>=2.3.3 \23    pymupdf>=1.26.7 \24    scikit-learn>=1.0.0 \25    tqdm>=4.67.1 \26    numpy \27    mcp>=1.13.1 \28    fastmcp>=2.11.3 \29    tiktoken30 31# Copy application code32COPY agent_framework/ agent_framework/33COPY agent_tools/ agent_tools/34COPY rag/ rag/35COPY web_app/ web_app/36 37# HF Spaces runs on port 786038EXPOSE 786039 40CMD ["uvicorn", "web_app.app:app", "--host", "0.0.0.0", "--port", "7860"]41