hoard/Dockerfile
2024-03-07 16:51:56 +01:00

22 lines
No EOL
363 B
Docker

FROM rust:bookworm as builder
COPY . /app
WORKDIR /app
RUN cargo build --release
FROM debian:bookworm
# Install dependencies for yt-dlp and ffmpeg
RUN apt-get update && \
apt-get install -y \
ca-certificates \
ffmpeg \
yt-dlp \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/hoard /hoard
WORKDIR /
CMD ["/hoard"]