Download Dockerfile from i-Lang/TelegramGuard: direct link, hf CLI and curl.
- Browser
- Download file 236 Bytes
-
https://huggingface.co/datasets/i-Lang/TelegramGuard/resolve/main/Dockerfile
- Command line
-
hf download hf://datasets/i-Lang/TelegramGuard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/i-Lang/TelegramGuard/resolve/main/Dockerfile
236 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| RUN mkdir -p data | |
| # Cloud Run uses 8080, HF Space uses 7860 | |
| ENV PORT=8080 | |
| EXPOSE 8080 | |
| CMD ["python", "bot.py"] | |