sohailkilledar commited on
Commit
e7cc70e
·
verified ·
1 Parent(s): 03b14f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -7
Dockerfile CHANGED
@@ -1,8 +1,18 @@
1
- FROM python:3.10-slim
2
- WORKDIR /app
3
- # Install system libraries for FAISS and OpenCV
4
- RUN apt-get update && apt-get install -y libgomp1 libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/*
5
- COPY . .
6
- RUN pip install --no-cache-dir -r requirements.txt
7
- EXPOSE 7860
 
 
 
 
 
 
 
 
 
 
8
  CMD ["python", "app.py"]
 
1
+ FROM python:3.10-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install system libraries for FAISS and OpenCV (Updated for Debian Trixie)
6
+ RUN apt-get update && apt-get install -y \
7
+ libgomp1 \
8
+ libgl1 \
9
+ libglib2.0-0 \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ COPY . .
13
+
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ EXPOSE 7860
17
+
18
  CMD ["python", "app.py"]