blmdsydm commited on
Commit
4174395
1 Parent(s): 5b128cc

Update dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +3 -2
dockerfile CHANGED
@@ -12,8 +12,6 @@ ADD . /opt/whisper-webui/
12
  # Further, pip install fails, so we must upgrade pip first.
13
  RUN apt-get -y install python3-tk
14
  RUN python3 -m pip install --upgrade pip
15
- RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb && \
16
- dpkg -i libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb && rm libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb
17
 
18
  RUN if [ "${WHISPER_IMPLEMENTATION}" = "whisper" ]; then \
19
  python3 -m pip install -r /opt/whisper-webui/requirements-whisper.txt; \
@@ -21,6 +19,9 @@ RUN if [ "${WHISPER_IMPLEMENTATION}" = "whisper" ]; then \
21
  python3 -m pip install -r /opt/whisper-webui/requirements-fasterWhisper.txt; \
22
  fi
23
 
 
 
 
24
  # Note: Models will be downloaded on demand to the directory /root/.cache/whisper.
25
  # You can also bind this directory in the container to somewhere on the host.
26
 
 
12
  # Further, pip install fails, so we must upgrade pip first.
13
  RUN apt-get -y install python3-tk
14
  RUN python3 -m pip install --upgrade pip
 
 
15
 
16
  RUN if [ "${WHISPER_IMPLEMENTATION}" = "whisper" ]; then \
17
  python3 -m pip install -r /opt/whisper-webui/requirements-whisper.txt; \
 
19
  python3 -m pip install -r /opt/whisper-webui/requirements-fasterWhisper.txt; \
20
  fi
21
 
22
+ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb && \
23
+ dpkg -i libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb && rm libcudnn8_8.5.0.96-1+cuda11.7_amd64.deb
24
+
25
  # Note: Models will be downloaded on demand to the directory /root/.cache/whisper.
26
  # You can also bind this directory in the container to somewhere on the host.
27