2021-03-05 13:39:57 +00:00
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
2021-03-08 13:07:31 +00:00
|
|
|
RUN mkdir ./app
|
|
|
|
RUN chmod 777 ./app
|
|
|
|
WORKDIR ./app
|
|
|
|
|
|
|
|
RUN apt -qq update
|
|
|
|
|
|
|
|
|
|
|
|
RUN apt -qq install -y git aria2 wget curl busybox unzip unrar tar python3 ffmpeg python3-pip file
|
2021-03-05 14:19:18 +00:00
|
|
|
RUN pip3 install -r /app/requirements.txt
|
|
|
|
|
2021-03-08 13:07:31 +00:00
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["bash","run.sh"]
|