File size: 418 Bytes
d676b7d
 
 
 
 
1b1a8e5
37416a8
 
ffa41ce
 
 
37416a8
 
 
d676b7d
 
4dd9d57
 
 
d676b7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.9-slim

WORKDIR /app
COPY . /app

# Install system dependencies for MediaPipe
RUN apt-get update && apt-get install -y \
    libglib2.0-0 \
    libsm6 \
    libxext6 \
    libxrender-dev \
    && rm -rf /var/lib/apt/lists/*

# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt

# Set Matplotlib cache directory
ENV MPLCONFIGDIR=/tmp/matplotlib-cache

CMD ["python", "app.py"]