Browse Source

Added Dockerfile written by Fusl

pull/8/head
madprogramer 3 years ago
committed by GitHub
parent
commit
0aedbb3f32
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      Dockerfile

+ 11
- 0
Dockerfile View File

@@ -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"]

Loading…
Cancel
Save