Przeglądaj źródła

Added Dockerfile written by Fusl

pull/8/head
madprogramer 3 lat temu
committed by GitHub
rodzic
commit
0aedbb3f32
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 0 usunięć
  1. +11
    -0
      Dockerfile

+ 11
- 0
Dockerfile Wyświetl plik

@@ -0,0 +1,11 @@
FROM python:3
ENV LC_ALL=C
RUN echo deb http://deb.debian.org/debian buster-backports main contrib > /etc/apt/sources.list.d/backports.list \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io update \
&& DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt-get -qqy --no-install-recommends -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold -o Dpkg::Options::=--force-unsafe-io install zip rsync curl \
&& pip install requests youtube_dl \
&& rm -rf /var/lib/apt/lists/*
COPY . /grab
WORKDIR /grab
STOPSIGNAL SIGKILL
ENTRYPOINT ["python3", "worker.py"]

Ładowanie…
Anuluj
Zapisz