This commit is contained in:
parent
c87562b36a
commit
5483ef3595
5 changed files with 2977 additions and 421 deletions
|
|
@ -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"]
|
||||
Loading…
Reference in a new issue