Spaces:
Running
Running
File size: 569 Bytes
698a2bc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
FROM python:3.11
WORKDIR /app
# Copy and install requirements BEFORE spaces
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY . .
# Expose port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]
```
And your `requirements.txt`:
```
mcp==1.21.2
fastmcp==2.13.1
gradio==5.50.0
aiohttp
google-generativeai
huggingface-hub
langchain-community
langchain-core
langchain-google-genai
langchain-groq
langgraph
python-dotenv
modal
langchain-mcp-adapters
nltk
anyio
transformers
torch
accelerate
unsloth
evaluate
httpx |