File size: 409 Bytes
ed3adc8
 
 
 
 
 
 
1791dba
 
 
ed3adc8
 
 
 
 
 
 
 
 
1791dba
ed3adc8
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM python:3.10-slim

WORKDIR /app

# Installer les dépendances système
RUN apt-get update && apt-get install -y \
    ffmpeg \
    python3-opencv \
    libgl1 \
    libsm0 \
    libsm6 \
    libxext6 \
    && rm -rf /var/lib/apt/lists/*

# Copier les fichiers
COPY requirements.txt .
COPY app.py .

# Installer les dépendances Python
RUN pip install --no-cache-dir --upgrade pip

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