Files
Ultroid-fork/Dockerfile
Aditya 9b282fd6e8 Fixes. v0.0.9
Co-authored-by: Aditya <me@xditya.me>
Co-authored-by: Danish <danish@ultroid.tech>
Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com>
Co-authored-by: Purushottam-6668 <Purushottam-6668@users.noreply.github.com>
Co-authored-by: Programming Error <error@notavailable.live>
2021-07-19 11:19:46 +05:30

26 lines
853 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 programmingerror/ultroid:b0.1
# 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.
COPY requirements.txt /deploy/
RUN pip3 install --no-cache-dir -r /deploy/requirements.txt
# install addons requirements
RUN wget -O /deploy/addons.txt https://git.io/JWdOk
RUN pip3 install --no-cache-dir -r /deploy/addons.txt
# start the bot
CMD ["bash", "resources/startup/startup.sh"]