This commit is contained in:
JMARyA 2024-03-07 18:22:22 +01:00
parent f09feac091
commit 9b2075acc3
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -5,18 +5,21 @@ WORKDIR /app
RUN cargo build --release
FROM debian:bookworm
FROM archlinux
RUN pacman-key --init && \
pacman-key --populate archlinux
# Install dependencies for yt-dlp and ffmpeg
RUN apt-get update && \
apt-get install -y \
RUN pacman -Sy --noconfirm archlinux-keyring && \
pacman -Syu --noconfirm && \
pacman -S --noconfirm \
ca-certificates \
ffmpeg \
yt-dlp \
&& rm -rf /var/lib/apt/lists/*
yt-dlp
COPY --from=builder /app/target/release/hoard /hoard
WORKDIR /
CMD ["/hoard"]
CMD ["/hoard"]