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"]