Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,11 @@ FROM python:3.12-slim
|
|
| 4 |
# Set the working directory inside the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the requirements file first to leverage Docker's layer caching
|
| 8 |
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
|
|
|
|
| 4 |
# Set the working directory inside the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
+
# First, update the package lists
|
| 8 |
+
RUN apt-get update
|
| 9 |
+
# Now, install ffmpeg. The -y flag auto-confirms the installation.
|
| 10 |
+
RUN apt-get install -y ffmpeg
|
| 11 |
+
|
| 12 |
# Copy the requirements file first to leverage Docker's layer caching
|
| 13 |
COPY ./requirements.txt /code/requirements.txt
|
| 14 |
|