Fix Youtube Downloader
This commit is contained in:
Родитель
3a80614e71
Коммит
5958ca14ad
|
@ -43,8 +43,16 @@ RUN cp /usr/local/src/darknet/libdarknet.so /app/libdarknet.so
|
|||
COPY /build/requirements.txt ./
|
||||
RUN pip3 install --upgrade pip
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
RUN pip3 install tornado==4.5.3 trollius && \
|
||||
pip3 install -U youtube-dl
|
||||
RUN pip3 install tornado==4.5.3 trollius
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends zip pandoc && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone --depth=1 https://github.com/ytdl-org/youtube-dl.git && \
|
||||
cd youtube-dl && \
|
||||
make && \
|
||||
make install
|
||||
|
||||
ADD /app/ .
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче