forked from breakdowns/slam-mirrorbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Merged mega-rest from lzzy - Fix /watch download msg progress - Change auto stop to 20 minute - Fix stop duplicate mirror (breakdowns#65) - Fix tar name - Change tracker Co-authored-by: Shivam Jha <[email protected]> Co-authored-by: Dev Singh Rajput <[email protected]> Co-authored-by: FA Tulloh <[email protected]>
- Loading branch information
1 parent
bd381fb
commit 6f2080b
Showing
20 changed files
with
232 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ data* | |
*.pickle | ||
authorized_chats.txt | ||
log.txt | ||
accounts/* | ||
accounts/* | ||
venv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
FROM lzzy12/mega-sdk-python:latest | ||
FROM ubuntu:20.04 | ||
|
||
WORKDIR /usr/src/app | ||
RUN chmod 777 /usr/src/app | ||
|
||
RUN apt-get -qq update && \ | ||
apt-get install -y software-properties-common && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
apt-add-repository non-free && \ | ||
apt-get -qq update && \ | ||
apt-get -qq install -y p7zip-full p7zip-rar aria2 curl pv jq ffmpeg locales python3-lxml && \ | ||
apt-get purge -y software-properties-common | ||
DEBIAN_FRONTEND="noninteractive" apt-get -qq install -y tzdata aria2 git python3 python3-pip \ | ||
locales python3-lxml \ | ||
curl pv jq ffmpeg \ | ||
p7zip-full p7zip-rar \ | ||
libcrypto++-dev libssl-dev \ | ||
libc-ares-dev libcurl4-openssl-dev \ | ||
libsqlite3-dev libsodium-dev && \ | ||
curl -L https://github.com/jaskaranSM/megasdkrest/releases/download/v0.1/megasdkrest -o /usr/local/bin/megasdkrest && \ | ||
chmod +x /usr/local/bin/megasdkrest | ||
|
||
COPY requirements.txt . | ||
COPY extract /usr/local/bin | ||
COPY pextract /usr/local/bin | ||
RUN chmod +x /usr/local/bin/extract && chmod +x /usr/local/bin/pextract | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ | ||
locale-gen | ||
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 | ||
COPY . . | ||
COPY .netrc /root/.netrc | ||
COPY netrc /root/.netrc | ||
RUN chmod +x aria.sh | ||
|
||
CMD ["bash","start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.