瀏覽代碼

Added Dockerfile written by Fusl

pull/8/head
madprogramer 3 年之前
committed by GitHub
父節點
當前提交
0aedbb3f32
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. +11
    -0
      Dockerfile

+ 11
- 0
Dockerfile 查看文件

@@ -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…
取消
儲存