Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
-
# Install ffmpeg and
|
4 |
RUN apt-get update && apt-get install -y ffmpeg libsndfile1
|
5 |
|
6 |
-
# Create
|
7 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
8 |
|
9 |
ENV HF_HOME=/app/cache
|
|
|
1 |
FROM python:3.10-slim
|
2 |
|
3 |
+
# Install ffmpeg and libsndfile1 for audio decoding
|
4 |
RUN apt-get update && apt-get install -y ffmpeg libsndfile1
|
5 |
|
6 |
+
# Create writable cache directory
|
7 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
8 |
|
9 |
ENV HF_HOME=/app/cache
|