Update 'Dockerfile'

This commit is contained in:
Adrien 2021-03-08 08:07:31 -05:00
parent c47d42d9fe
commit e9eae26661
1 changed files with 12 additions and 4 deletions

View File

@ -1,8 +1,16 @@
FROM ubuntu:20.04
COPY run.sh requirements.txt testwatermark.jpg /app/
COPY lazyleech /app/lazyleech/
RUN apt update && apt install -y --no-install-recommends python3 python3-pip ffmpeg aria2 file && rm -rf /var/lib/apt/lists/*
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
RUN pip3 install -r /app/requirements.txt
CMD ["sh" "/app/run.sh"]
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
CMD ["bash","run.sh"]