summaryrefslogtreecommitdiffstats
path: root/bundle/docker/static/Dockerfile
blob: dae2dff3d852a10fb955c1684c053a1f6c899d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM alpine:3.19 as base

RUN apk --update add --no-cache \
        build-base \
        python3 \
        pipx \
    ;

RUN pipx install pyinstaller
# Requires above step to prepare the shared venv
RUN ~/.local/share/pipx/shared/bin/python -m pip install -U wheel
RUN apk --update add --no-cache \
        scons \
        patchelf \
        binutils \
    ;
RUN pipx install staticx

WORKDIR /yt-dlp
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT /entrypoint.sh