Spaces:
Running
Running
Update dockerfile
Browse files- dockerfile +4 -1
dockerfile
CHANGED
|
@@ -5,6 +5,9 @@ WORKDIR /app
|
|
| 5 |
# Installer les dépendances système
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
ffmpeg \
|
|
|
|
|
|
|
|
|
|
| 8 |
libsm6 \
|
| 9 |
libxext6 \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
|
@@ -14,6 +17,6 @@ COPY requirements.txt .
|
|
| 14 |
COPY app.py .
|
| 15 |
|
| 16 |
# Installer les dépendances Python
|
| 17 |
-
RUN pip install --no-cache-dir
|
| 18 |
|
| 19 |
CMD ["python", "app.py"]
|
|
|
|
| 5 |
# Installer les dépendances système
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
ffmpeg \
|
| 8 |
+
python3-opencv \
|
| 9 |
+
libgl1 \
|
| 10 |
+
libsm0 \
|
| 11 |
libsm6 \
|
| 12 |
libxext6 \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
| 17 |
COPY app.py .
|
| 18 |
|
| 19 |
# Installer les dépendances Python
|
| 20 |
+
RUN pip install --no-cache-dir --upgrade pip
|
| 21 |
|
| 22 |
CMD ["python", "app.py"]
|