Skip to content

Commit

Permalink
use bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroMS25 committed Jan 30, 2025
1 parent ce9bb37 commit 59297dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/rust:1-bullseye AS build
FROM docker.io/rust:1-bookworm AS build

RUN apt-get update && apt-get install -y \
cmake \
Expand All @@ -11,7 +11,7 @@ WORKDIR /nightingale
COPY . .
RUN cargo b --release --features docker

FROM debian:bullseye-slim AS runtime
FROM debian:bookworm-slim AS runtime
WORKDIR /nightingale

# Install certificates, yt-dlp and dependencies
Expand All @@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
ca-certificates \
&& pip3 install --no-cache-dir yt-dlp \
&& pip3 install --break-system-packages --no-cache-dir yt-dlp \
&& rm -rf /var/lib/apt/lists/*

COPY --from=build /nightingale/target/release/nightingale .
Expand Down

0 comments on commit 59297dd

Please sign in to comment.