Skip to content

Commit

Permalink
dev: implement magnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hlf20010508 committed Dec 17, 2023
1 parent 3854d3b commit 5ab8e52
Show file tree
Hide file tree
Showing 5 changed files with 774 additions and 107 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM hlf01/cryptg:cryptg0.4.0-python3.8.16-alpine3.17 AS cryptg_builder
FROM python:3.8.16-alpine3.17
WORKDIR /telegram-onedrive
COPY ./ ./
RUN apk add --update --no-cache libgcc &&\
pip install --no-cache-dir telethon requests flask onedrivesdk==1.1.8
RUN apk add --update --no-cache libgcc git &&\
pip install --no-cache-dir telethon requests flask onedrivesdk==1.1.8 git+https://github.com/hlf20010508/[email protected]#subdirectory=ltorrent_async &&\
apk del git
COPY --from=cryptg_builder /cryptg /usr/local/lib/python3.8/site-packages
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ flask = "*"
telethon = "*"
requests = "*"
cryptg = "==0.4.0"
ltorrent-async = {ref = "1.6.0", git = "git+https://github.com/hlf20010508/LTorrent.git", subdirectory = "ltorrent_async"}
Loading

0 comments on commit 5ab8e52

Please sign in to comment.