algorhythym commited on
Commit
67623f3
·
verified ·
1 Parent(s): 5cffb91

Rename runtime.txt to Dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +32 -0
  2. runtime.txt +0 -1
Dockerfile ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use Python 3.11 base image
2
+ FROM python:3.11-slim
3
+
4
+ # Set working directory
5
+ WORKDIR /app
6
+
7
+ # Copy your app code
8
+ COPY . /app
9
+
10
+ # Upgrade pip
11
+ RUN python -m pip install --upgrade pip
12
+
13
+ # Install system dependencies (if needed)
14
+ RUN apt-get update && apt-get install -y \
15
+ build-essential \
16
+ && rm -rf /var/lib/apt/lists/*
17
+
18
+ # Install your Python dependencies
19
+ RUN pip install --no-cache-dir \
20
+ streamlit \
21
+ python-dotenv \
22
+ langchain-groq>=0.3.2 \
23
+ nest-asyncio>=1.6.0 \
24
+ httpx \
25
+ mcp>=1.6.0 \
26
+ mcp-use>=1.2.7
27
+
28
+ # Expose Streamlit port
29
+ EXPOSE 8501
30
+
31
+ # Default command to run Streamlit app
32
+ CMD ["streamlit", "run", "app/app.py", "--server.p]()
runtime.txt DELETED
@@ -1 +0,0 @@
1
- python-3.11