whisper.cpp/.devops/main.Dockerfile

20 lines
444 B
Docker
Raw Normal View History

FROM ubuntu:22.04 AS build
WORKDIR /app
RUN apt-get update && \
2024-12-08 21:09:26 +00:00
apt-get install -y build-essential wget cmake \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
COPY .. .
2024-12-08 21:07:29 +00:00
RUN make base.en
FROM ubuntu:22.04 AS runtime
WORKDIR /app
RUN apt-get update && \
2024-12-08 21:09:26 +00:00
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" ]