mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-11-07 08:34:37 +01:00
bea43e0c64
* Added libsdl2-dev for SDL samples Building talk-llama seems to fail here as there is no sdl.h. * Adding libsdl2-dev for sdl.h * Adding libsdl2-dev for sdl.h
20 lines
414 B
Docker
20 lines
414 B
Docker
FROM ubuntu:22.04 AS build
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y build-essential \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
COPY .. .
|
|
RUN make
|
|
|
|
FROM ubuntu:22.04 AS runtime
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y curl ffmpeg libsdl2-dev \
|
|
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
|
|
|
|
COPY --from=build /app /app
|
|
ENTRYPOINT [ "bash", "-c" ]
|