22 lines
501 B
Docker
22 lines
501 B
Docker
FROM ubuntu:18.04
|
|
|
|
WORKDIR /usr/src/app
|
|
RUN chmod 777 /usr/src/app
|
|
RUN apt -qq update
|
|
RUN apt -qq install -y aria2 python3 python3-pip \
|
|
locales python3-lxml \
|
|
curl pv jq ffmpeg \
|
|
p7zip-full p7zip-rar
|
|
COPY requirements.txt .
|
|
COPY extract /usr/local/bin
|
|
RUN chmod +x /usr/local/bin/extract
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
RUN chmod +x aria.sh
|
|
RUN locale-gen en_US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US:en
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
CMD ["bash","start.sh"]
|