fix: fixed yt-dlp not working in docker container
chore: bump rust version
This commit is contained in:
parent
b368a23adf
commit
e56e83213f
1 changed files with 3 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
||||||
FROM rust:1.80
|
FROM rust:1.81
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
RUN echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list
|
||||||
RUN apt-get update
|
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
|
RUN cargo build --release
|
||||||
|
|
||||||
CMD ["/usr/src/app/target/release/rustendo"]
|
CMD ["/usr/src/app/target/release/rustendo"]
|
||||||
|
|
Loading…
Reference in a new issue