👀
Some checks failed
Build and Test / splatie (push) Failing after 2m12s

This commit is contained in:
kittentm 2026-05-17 17:55:38 +02:00
commit 5483ef3595
Signed by: kitten
GPG key ID: 394B4EABE4405A83
5 changed files with 2977 additions and 421 deletions

View file

@ -29,7 +29,13 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
mkdir -p /app/dist && \
cp /app/target/x86_64-unknown-linux-musl/release/professor /app/dist/
FROM scratch AS final
FROM alpine:latest AS final
WORKDIR /app
RUN apk add --no-cache ffmpeg python3 curl libstdc++ \
&& curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \
&& chmod a+rx /usr/local/bin/yt-dlp \
&& apk del curl
COPY --from=builder /app/dist/professor ./splatie
ENTRYPOINT ["./splatie"]