chore: add .dockerignore and update Dockerfile to use debian:trixie-slim

This commit is contained in:
2026-04-09 13:39:38 +02:00
parent b1d778284c
commit ab5eb69f7a
2 changed files with 8 additions and 2 deletions

View File

@@ -6,14 +6,15 @@ COPY . .
# Build the release binary
RUN cargo build --release -p api
FROM debian:bookworm-slim
FROM debian:trixie-slim
WORKDIR /app
# Install OpenSSL, CA certs, and ffmpeg (provides ffprobe for local-files duration scanning)
# Install OpenSSL, CA certs
RUN apt-get update && apt-get install -y --no-install-recommends \
libssl3 \
ca-certificates \
libsqlite3-0 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/api .