master
parent
d5e7358096
commit
2af656ada4
|
@ -1,6 +1,6 @@
|
|||
FROM ubuntu:22.04
|
||||
|
||||
# Install dependencies
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
python3-pip \
|
||||
|
@ -15,12 +15,12 @@ RUN apt-get update && apt-get install -y \
|
|||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Clone whisper.cpp (shallow clone to save space)
|
||||
# Clone whisper.cpp (shallow clone)
|
||||
RUN git clone --depth 1 https://github.com/ggerganov/whisper.cpp.git
|
||||
|
||||
# Build whisper.cpp (with explicit targets)
|
||||
# Build whisper.cpp properly
|
||||
RUN cd whisper.cpp && \
|
||||
make main
|
||||
make
|
||||
|
||||
# Verify the binary was built
|
||||
RUN ls -lh /app/whisper.cpp/main
|
||||
|
|
Loading…
Reference in New Issue