From 68e96ef78436b1e77a242bb53f8bf463b4a15250 Mon Sep 17 00:00:00 2001 From: mii Date: Tue, 16 Jan 2024 15:01:45 +0000 Subject: [PATCH] change base image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d0c9a9..223a9ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ RUN cargo chef cook --release --recipe-path recipe.json COPY . . RUN cargo build --release -FROM debian:bullseye-20230227-slim AS runtime +FROM ubuntu:22.04 AS runtime WORKDIR /ncb-tts-r2 -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates ffmpeg libssl-dev libopus-dev && apt-get -y clean && mkdir audio +RUN apt-get update && apt-get install -y --no-install-recommends openssl ca-certificates ffmpeg libssl-dev libopus-dev && apt-get -y clean && mkdir audio COPY --from=builder /app/target/release/ncb-tts-r2 /usr/local/bin ENTRYPOINT ["/usr/local/bin/ncb-tts-r2"]