Vishal Patil commited on
Commit
8f10681
·
verified ·
1 Parent(s): 0adc0ab

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -17
Dockerfile CHANGED
@@ -4,18 +4,6 @@ RUN apt-get update && apt-get install -y \
4
  ffmpeg \
5
  libsndfile1 \
6
  git \
7
- pkg-config \
8
- libavformat-dev \
9
- libavcodec-dev \
10
- libavdevice-dev \
11
- libavutil-dev \
12
- libavfilter-dev \
13
- libswscale-dev \
14
- libswresample-dev \
15
- python3-dev \
16
- gcc \
17
- g++ \
18
- cython3 \
19
  && apt-get clean \
20
  && rm -rf /var/lib/apt/lists/*
21
 
@@ -23,12 +11,9 @@ WORKDIR /app
23
 
24
  COPY requirements.txt .
25
 
26
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel cython && \
27
- pip install --no-cache-dir av==12.3.0 && \
28
  pip install --no-cache-dir torch==2.1.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cpu && \
29
- pip install --no-cache-dir ctranslate2==3.24.0 && \
30
- pip install --no-cache-dir faster-whisper==0.10.1 && \
31
- pip install --no-cache-dir whisperx==3.1.1 && \
32
  pip install --no-cache-dir pyannote.audio==3.1.1 && \
33
  pip install --no-cache-dir gradio==4.26.0 huggingface_hub==0.21.4 && \
34
  pip install --no-cache-dir pydantic numpy==1.26.4 soundfile librosa
 
4
  ffmpeg \
5
  libsndfile1 \
6
  git \
 
 
 
 
 
 
 
 
 
 
 
 
7
  && apt-get clean \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
11
 
12
  COPY requirements.txt .
13
 
14
+ RUN pip install --no-cache-dir --upgrade pip && \
 
15
  pip install --no-cache-dir torch==2.1.0 torchaudio==2.1.0 --index-url https://download.pytorch.org/whl/cpu && \
16
+ pip install --no-cache-dir openai-whisper && \
 
 
17
  pip install --no-cache-dir pyannote.audio==3.1.1 && \
18
  pip install --no-cache-dir gradio==4.26.0 huggingface_hub==0.21.4 && \
19
  pip install --no-cache-dir pydantic numpy==1.26.4 soundfile librosa