maham234 commited on
Commit
c134b65
·
verified ·
1 Parent(s): 8258acd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,9 +1,12 @@
 
1
  FROM python:3.10-slim
2
 
3
- # Install system dependencies for OpenCV
4
  RUN apt-get update && apt-get install -y \
5
  libgl1-mesa-glx \
6
  libglib2.0-0 \
 
 
7
  && rm -rf /var/lib/apt/lists/*
8
 
9
  # Set working directory
@@ -16,7 +19,7 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # Copy app files
17
  COPY . .
18
 
19
- # Expose port
20
  EXPOSE 5000
21
 
22
  # Start Flask
 
1
+ # Use full Python image
2
  FROM python:3.10-slim
3
 
4
+ # Install system dependencies for OpenCV + MediaPipe
5
  RUN apt-get update && apt-get install -y \
6
  libgl1-mesa-glx \
7
  libglib2.0-0 \
8
+ build-essential \
9
+ ffmpeg \
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
  # Set working directory
 
19
  # Copy app files
20
  COPY . .
21
 
22
+ # Expose port for Flask
23
  EXPOSE 5000
24
 
25
  # Start Flask