Co-authored-by: Danish <danish@ultroid.tech> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: sppidy <sppidy@users.noreply.github.com> Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com> Co-authored-by: divkix <divkix@users.noreply.github.com> Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com> Co-authored-by: Programming Error <error@notavailable.live>
22 lines
734 B
Docker
22 lines
734 B
Docker
# Ultroid - UserBot
|
|
# Copyright (C) 2021 TeamUltroid
|
|
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
|
|
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
|
|
|
|
FROM theteamultroid/ultroid:main
|
|
|
|
# set timezone
|
|
ENV TZ=Asia/Kolkata
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
# clone the repo and change workdir
|
|
RUN git clone https://github.com/TeamUltroid/Ultroid.git /root/TeamUltroid/
|
|
WORKDIR /root/TeamUltroid/
|
|
|
|
# install main requirements.
|
|
RUN pip3 install --no-cache-dir -r requirements.txt
|
|
RUN pip3 uninstall av -y && pip3 install av --no-binary av
|
|
|
|
# start the bot
|
|
CMD ["bash", "resources/startup/startup.sh"]
|