diff --git a/Dockerfile b/Dockerfile index 8a69c21..8de5528 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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