Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -4,6 +4,12 @@ FROM python:3.11
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /code
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Copy the requirements file and install dependencies
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
4 |
# Set the working directory inside the container
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
# Install ffmpeg and other dependencies
|
8 |
+
RUN apt-get update && \
|
9 |
+
apt-get install -y ffmpeg && \
|
10 |
+
apt-get clean && \
|
11 |
+
rm -rf /var/lib/apt/lists/*
|
12 |
+
|
13 |
# Copy the requirements file and install dependencies
|
14 |
COPY ./requirements.txt /code/requirements.txt
|
15 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|