fix: fixed yt-dlp not working in docker container

chore: bump rust version
This commit is contained in:
moonleay 2024-09-19 00:23:20 +02:00
parent b368a23adf
commit e56e83213f
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -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"]