Skip to content

Commit 1a38910

Browse files
authored
Remove Whisper from Dockerfile (#8)
1 parent 9d06ced commit 1a38910

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

Dockerfile

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
1-
#### BUILD WHISPER.CPP
2-
#----------------------------------
3-
FROM nvidia/cuda:11.6.2-devel-ubuntu20.04 AS build
4-
5-
WORKDIR /usr/local/src
6-
RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y \
7-
bash git make wget g++ ffmpeg cmake libopenblas-dev
8-
RUN git clone https://github.com/ggml-org/whisper.cpp --depth 1
9-
10-
# whisper.cpp setup
11-
WORKDIR /usr/local/src/whisper.cpp
12-
RUN WHISPER_CUBLAS=0 make -j
13-
RUN bash ./models/download-ggml-model.sh medium-q8_0
14-
15-
#### copy the compiled binaries to the image for prod
16-
# the image above will be discarded
17-
# ----------------------------------
181
FROM python:3.11-slim
192

20-
# copy whisper
21-
COPY --from=build /usr/local/src/whisper.cpp /whisper
22-
COPY --from=build /lib/*/libgomp.so.1 /whisper/build/src
23-
24-
# fix some libs
25-
ENV LD_LIBRARY_PATH="/whisper/build/src/:/whisper/build/ggml/src/"
26-
27-
# ingest-file
283
ENV DEBIAN_FRONTEND="noninteractive"
294

305
LABEL org.opencontainers.image.title="FollowTheMoney File Ingestors"
@@ -130,7 +105,6 @@ RUN echo "deb http://http.us.debian.org/debian stable non-free" >/etc/apt/source
130105
fonts-droid-fallback fonts-dustin fonts-f500 fonts-fanwood fonts-freefont-ttf \
131106
fonts-liberation fonts-lmodern fonts-lyx fonts-sil-gentium fonts-texgyre \
132107
fonts-tlwg-purisa \
133-
ffmpeg \
134108
###
135109
&& apt-get -qq -y autoremove \
136110
&& apt-get clean \

0 commit comments

Comments
 (0)