mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
20 lines
444 B
Docker
20 lines
444 B
Docker
FROM ubuntu:22.04 AS build
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y build-essential wget cmake \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
COPY .. .
|
|
RUN make base.en
|
|
|
|
FROM ubuntu:22.04 AS runtime
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y curl ffmpeg libsdl2-dev wget cmake \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
COPY --from=build /app /app
|
|
ENTRYPOINT [ "bash", "-c" ]
|