Kar 2025-06-15 21:54:42 +05:30
parent d5e7358096
commit 2af656ada4
1 changed files with 4 additions and 4 deletions

View File

@ -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