| # debian.sh --arch 'amd64' out/ 'stable' '@1771804800' |
| RUN /bin/sh -c apt update && apt upgrade -y # buildkit |
| RUN /bin/sh -c apt install -y ca-certificates curl ffmpeg python3 python3-pip unzip # buildkit |
| RUN /bin/sh -c curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod +x /usr/local/bin/yt-dlp # buildkit |
| RUN /bin/sh -c curl -fsSL https://deno.land/install.sh | sh && ln -s /root/.deno/bin/deno /usr/local/bin/deno # buildkit |
| COPY /go/src/pixeltube/pixeltube /app/pixeltube # buildkit |
| COPY /go/src/pixeltube/runner /app/runner # buildkit |
| RUN /bin/sh -c chmod +x /app/pixeltube /app/runner # buildkit |
| WORKDIR /app |
| COPY templates templates # buildkit |
| COPY static static # buildkit |
| EXPOSE [8080/tcp] |
| CMD ["/app/pixeltube"] |