9409783f3cb36078a87cbf005afd5c28b29b46ad

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Add yt-dlp to dockerfile

Diff

 1diff --git a/Dockerfile b/Dockerfile
 2index 80bc2024c516e5ad9df178c164b2c363ea995905..676ba6f6a86234b7b1cb579d094c04acb8384cfc 100644
 3--- a/Dockerfile
 4+++ b/Dockerfile
 5@@ -12,13 +12,13 @@ RUN --mount=type=cache,target="/cache" go build -o dist/ytrssil-api cmd/main.go;
 6 
 7 FROM debian:trixie-slim AS api
 8 
 9-HEALTHCHECK --start-period=2s --start-interval=2s CMD exec curl -sf localhost:$PORT/healthz
10+HEALTHCHECK --start-period=2s --start-interval=2s CMD exec curl -sf localhost:$PORT/healthz;
11 WORKDIR /app/
12 ENTRYPOINT ["./ytrssil-api"]
13 VOLUME /var/lib/ytrssil/downloads
14 
15 RUN apt update \
16-	&& apt install -y ca-certificates curl \
17+	&& apt install -y ca-certificates curl yt-dlp \
18 	&& apt clean \
19 	&& rm -rf /var/lib/apt/lists/*;
20