Download Dockerfile from Senkaro/Test: direct link, hf CLI and curl.
- Browser
- Download file 420 Bytes
-
https://huggingface.co/spaces/Senkaro/Test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Senkaro/Test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Senkaro/Test/resolve/main/Dockerfile
420 Bytes
| FROM python:3.8-slim | |
| # Установи рабочую папку | |
| WORKDIR /app | |
| # Копируй файлы с требованиями и установи зависимости | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Копируй все остальные файлы проекта в рабочую папку | |
| COPY . . | |
| # Запускаем бота | |
| CMD ["python", "main.py"] |