Vishal Patil commited on
Update Dockerfile
Browse files- Dockerfile +1 -13
Dockerfile
CHANGED
|
@@ -1,23 +1,11 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
RUN apt-get update && apt-get install -y \
|
| 4 |
-
ffmpeg \
|
| 5 |
-
libsndfile1 \
|
| 6 |
-
git \
|
| 7 |
-
&& apt-get clean \
|
| 8 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
-
|
| 10 |
WORKDIR /app
|
| 11 |
|
| 12 |
COPY requirements.txt .
|
| 13 |
|
| 14 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 15 |
-
pip install --no-cache-dir
|
| 16 |
-
pip install --no-cache-dir openai-whisper && \
|
| 17 |
-
pip install --no-cache-dir "huggingface_hub==0.23.4" && \
|
| 18 |
-
pip install --no-cache-dir "pyannote.audio==3.1.1" && \
|
| 19 |
-
pip install --no-cache-dir gradio==3.50.2 && \
|
| 20 |
-
pip install --no-cache-dir pydantic numpy==1.26.4 soundfile librosa
|
| 21 |
|
| 22 |
COPY . .
|
| 23 |
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
| 6 |
|
| 7 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 8 |
+
pip install --no-cache-dir httpx gradio==3.50.2 pydantic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
COPY . .
|
| 11 |
|