mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-21 19:30:16 +00:00
parent
4d348955a3
commit
b12df3f312
12
Dockerfile
12
Dockerfile
@ -7,10 +7,20 @@ ENV PYTHONUNBUFFERED 1
|
|||||||
# install distro packages needed
|
# install distro packages needed
|
||||||
RUN apt-get clean && apt-get -y update && apt-get -y install --no-install-recommends \
|
RUN apt-get clean && apt-get -y update && apt-get -y install --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
ffmpeg \
|
|
||||||
nginx \
|
nginx \
|
||||||
curl && rm -rf /var/lib/apt/lists/*
|
curl && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# get newes patched ffmpeg and ffprobe builds
|
||||||
|
RUN curl -s https://api.github.com/repos/yt-dlp/FFmpeg-Builds/releases/autobuild-2021-09-28-12-38 \
|
||||||
|
| grep browser_download_url \
|
||||||
|
| grep linux64 \
|
||||||
|
| grep ffmpeg-n \
|
||||||
|
| cut -d '"' -f 4 \
|
||||||
|
| xargs curl -L --output ffmpeg.tar.xz && \
|
||||||
|
tar -xf ffmpeg.tar.xz --strip-components=2 --no-anchored -C /usr/bin/ "ffmpeg" && \
|
||||||
|
tar -xf ffmpeg.tar.xz --strip-components=2 --no-anchored -C /usr/bin/ "ffprobe" && \
|
||||||
|
rm ffmpeg.tar.xz
|
||||||
|
|
||||||
# copy config files
|
# copy config files
|
||||||
COPY nginx.conf /etc/nginx/conf.d/
|
COPY nginx.conf /etc/nginx/conf.d/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user