Spaces:
Runtime error
Runtime error
Download Dockerfile from shadowtext/README: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/shadowtext/README/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/shadowtext/README/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/shadowtext/README/resolve/main/Dockerfile
317 Bytes
| FROM python:3.10-slim | |
| # Server ichida ishchi papka yaratamiz | |
| WORKDIR /app | |
| # Kutubxonalar ro'yxatini nusxalab, o'rnatamiz | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Loyihadagi barcha fayllarni serverga nusxalaymiz | |
| COPY . . | |
| # Botni ishga tushirish buyrug'i | |
| CMD ["python", "bot.py"] |