This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
2023-10-31 00:49:36 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
COPY bot /opt/bot
|
2023-11-07 21:52:13 +00:00
|
|
|
RUN apk update && apk add tzdata bash python3 py-pip wget icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib && pip install telebot
|
2023-10-31 00:49:36 +00:00
|
|
|
RUN wget https://github.com/fedarovich/qbittorrent-cli/releases/download/v1.7.22315.1/qbt-linux-alpine-x64-1.7.22315.1.tar.gz && \
|
|
|
|
mkdir /opt/qbt && \
|
|
|
|
tar -zxf qbt-linux-alpine-x64-1.7.22315.1.tar.gz -C /opt/qbt && \
|
|
|
|
chmod a+x /opt/qbt/* && \
|
|
|
|
ln -sf /opt/qbt/qbt /bin/qbt && ln -sf /opt/bot/bot.py /bin/bot
|
2023-11-07 21:52:13 +00:00
|
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
2023-10-31 00:49:36 +00:00
|
|
|
ENTRYPOINT ["/bin/bot"]
|