Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -2,8 +2,8 @@ FROM python:3.10
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
-
#
|
| 6 |
-
RUN apt-get update && apt-get install -y git libsndfile1 && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
+
# Добавили ffmpeg для надежной конвертации любых аудиофайлов
|
| 6 |
+
RUN apt-get update && apt-get install -y git libsndfile1 ffmpeg && rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
COPY requirements.txt .
|
| 9 |
RUN pip install --no-cache-dir -r requirements.txt
|