roop-unleashednew / dockerfile
assile's picture
Update dockerfile
1791dba verified
raw
history blame contribute delete
409 Bytes
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"]