From e56e83213f242903be4f13c6788f44ff511032ea Mon Sep 17 00:00:00 2001 From: moonleay Date: Thu, 19 Sep 2024 00:23:20 +0200 Subject: [PATCH] fix: fixed yt-dlp not working in docker container chore: bump rust version --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5c8b158..9321e7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM rust:1.80 +FROM rust:1.81 WORKDIR /usr/src/app COPY . . +RUN echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list RUN apt-get update -RUN apt-get install -y cmake yt-dlp +RUN apt-get install -y cmake yt-dlp/bookworm-backports RUN cargo build --release CMD ["/usr/src/app/target/release/rustendo"]