mahreenfathima commited on
Commit
698a2bc
·
verified ·
1 Parent(s): 0ea4fc0

Create DockerFile

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