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