debian
This commit is contained in:
parent
26de012358
commit
f09feac091
1 changed files with 8 additions and 5 deletions
13
Dockerfile
13
Dockerfile
|
@ -1,16 +1,19 @@
|
||||||
FROM rust:buster as builder
|
FROM rust:bookworm as builder
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM archlinux
|
FROM debian:bookworm
|
||||||
|
|
||||||
# Install dependencies for yt-dlp and ffmpeg
|
# Install dependencies for yt-dlp and ffmpeg
|
||||||
RUN pacman -Syu --noconfirm && \
|
RUN apt-get update && \
|
||||||
pacman -S --noconfirm ca-certificates ffmpeg yt-dlp && \
|
apt-get install -y \
|
||||||
rm -rf /var/cache/pacman/pkg/*
|
ca-certificates \
|
||||||
|
ffmpeg \
|
||||||
|
yt-dlp \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /app/target/release/hoard /hoard
|
COPY --from=builder /app/target/release/hoard /hoard
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue