Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,8 @@ WORKDIR /app
|
|
| 16 |
# (Optional but nice) confirm Python/pip versions in build logs
|
| 17 |
RUN python --version && pip --version
|
| 18 |
|
|
|
|
|
|
|
| 19 |
# CPU Torch for build/testing (GPU hardware on Space is still recommended for speed)
|
| 20 |
RUN pip install --no-cache-dir torch==2.1.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
|
| 21 |
|
|
|
|
| 16 |
# (Optional but nice) confirm Python/pip versions in build logs
|
| 17 |
RUN python --version && pip --version
|
| 18 |
|
| 19 |
+
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
|
| 20 |
+
|
| 21 |
# CPU Torch for build/testing (GPU hardware on Space is still recommended for speed)
|
| 22 |
RUN pip install --no-cache-dir torch==2.1.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
|
| 23 |
|