# Ultroid - UserBot | |
# Copyright (C) 2021-2025 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 python:3.12-slim | |
# set timezone | |
ENV TZ=Asia/Kolkata | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
WORKDIR /app | |
COPY . . | |
# Install git for pip to install from GitHub | |
RUN apt-get update && apt-get install -y git | |
RUN pip install --no-cache-dir -r requirements.txt | |
RUN bash installer.sh | |
ENV PYTHONPATH="${PYTHONPATH}:/app" | |
CMD ["bash", "startup"] | |