File size: 743 Bytes
ddb9069 1f26706 77b5655 1f26706 ddb9069 1f26706 ddb9069 036d91a 7348ff3 6baecb6 1f26706 7348ff3 28551dd 6baecb6 ddb9069 1f26706 ddb9069 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# 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
USER root
RUN apt-get update && apt-get install -y git gcc python3-dev ffmpeg mediainfo neofetch
COPY . .
ENV PIP_ROOT_USER_ACTION=ignore
RUN pip install --no-cache-dir -r requirements.txt
RUN bash installer.sh
ENV PYTHONPATH="${PYTHONPATH}:/app"
CMD ["bash", "startup"]
|