diff options
| author | soryu <soryu@soryu.co> | 2025-12-21 03:56:13 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2025-12-23 14:47:18 +0000 |
| commit | 3787fd5f5358c0bf9cba6a359593fbfc2c334727 (patch) | |
| tree | 251b4626c26a385ca78b7ac4d706aa597463f9af /Dockerfile | |
| parent | 583e6257ab2833c67298460929c3c9f8dbb256cf (diff) | |
| download | soryu-3787fd5f5358c0bf9cba6a359593fbfc2c334727.tar.gz soryu-3787fd5f5358c0bf9cba6a359593fbfc2c334727.zip | |
Fixup: Use single stage dockerfile
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -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 |
