Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -15,6 +15,10 @@ WORKDIR /app
|
|
15 |
|
16 |
# Copy the requirements file into the container
|
17 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
|
|
|
|
|
18 |
|
19 |
# Install any needed packages specified in requirements.txt
|
20 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
15 |
|
16 |
# Copy the requirements file into the container
|
17 |
COPY --chown=user ./requirements.txt requirements.txt
|
18 |
+
# Install system dependencies (including FFmpeg)
|
19 |
+
USER root
|
20 |
+
RUN apt-get update && apt-get install -y ffmpeg
|
21 |
+
USER user
|
22 |
|
23 |
# Install any needed packages specified in requirements.txt
|
24 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|