From 3787fd5f5358c0bf9cba6a359593fbfc2c334727 Mon Sep 17 00:00:00 2001 From: soryu Date: Sun, 21 Dec 2025 03:56:13 +0000 Subject: Fixup: Use single stage dockerfile --- Dockerfile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 880a019..6f873b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,23 +15,11 @@ COPY makima ./makima COPY vendor ./vendor COPY tools/stt-client ./tools/stt-client + # Build release binary RUN cargo build --release --package makima --bin makima-server -# Runtime stage -FROM debian:bookworm-slim - -WORKDIR /app - -# Install runtime dependencies -RUN apt-get update && apt-get install -y \ - ca-certificates \ - libssl3 \ - curl \ - && rm -rf /var/lib/apt/lists/* - -# Copy the binary -COPY --from=builder /app/target/release/makima-server /app/makima-server +RUN cp /app/target/release/makima-server /app/makima-server # Copy model download script COPY makima/sh/download-models.sh /app/download-models.sh -- cgit v1.2.3