Spaces:
Running
Running
Download Dockerfile from mega345evolutions/Ultroid: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/spaces/mega345evolutions/Ultroid/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mega345evolutions/Ultroid/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mega345evolutions/Ultroid/resolve/main/Dockerfile
635 Bytes
| # Ultroid - UserBot | |
| # Copyright (C) 2021-2026 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 | |
| COPY installer.sh . | |
| RUN bash installer.sh | |
| # changing workdir | |
| WORKDIR "/root/TeamUltroid" | |
| # start the bot with a dummy web server in the background to satisfy Hugging Face | |
| CMD ["bash", "-c", "python3 -m http.server 7860 & bash startup"] |