Update requirements.txt

#2
by Maryam-34 - opened
Files changed (1) hide show
  1. requirements.txt +19 -4
requirements.txt CHANGED
@@ -1,4 +1,19 @@
1
- gradio==4.19.2
2
- huggingface_hub==0.20.3
3
- openai>=1.40.0
4
- PyMuPDF>=1.24.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ RUN apt-get update && apt-get install -y \
6
+ build-essential \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ COPY requirements.txt .
10
+ RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt
11
+
12
+ COPY . .
13
+
14
+ EXPOSE 7860
15
+
16
+ ENV GRADIO_SERVER_NAME=0.0.0.0
17
+ ENV GRADIO_SERVER_PORT=7860
18
+
19
+ CMD ["python", "app.py"]