UserBot-1 / Dockerfile
xdragxt's picture
Update Dockerfile
6d590de verified
raw
history blame
545 Bytes
# 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.10-slim
# set timezone
ENV TZ=Asia/Kolkata
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN bash installer.sh
ENV PYTHONPATH="${PYTHONPATH}:/app"
CMD ["bash", "startup"]