2024-04-04 06:51:49 +00:00
|
|
|
FROM rust:1.77
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN apt-get update
|
2024-04-04 07:21:25 +00:00
|
|
|
RUN apt-get install -y cmake yt-dlp
|
2024-04-04 06:51:49 +00:00
|
|
|
RUN cargo build --release
|
|
|
|
|
|
|
|
CMD ["/usr/src/app/target/release/rustendo"]
|