Download Dockerfile from Serg4451D/imt: direct link, hf CLI and curl.
- Browser
- Download file 615 Bytes
-
https://huggingface.co/spaces/Serg4451D/imt/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Serg4451D/imt/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Serg4451D/imt/resolve/main/Dockerfile
615 Bytes
| # Используем базовый образ Python | |
| FROM python:3.9-slim | |
| # Устанавливаем зависимости для Kivy и KivyMD | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| build-essential \ | |
| libgl1-mesa-glx \ | |
| libgles2-mesa \ | |
| mesa-utils \ | |
| xvfb \ | |
| libx11-6 \ | |
| libxrender1 \ | |
| libxext6 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Устанавливаем Kivy и KivyMD | |
| RUN pip install kivy kivymd | |
| # Копируем файлы приложения в контейнер | |
| COPY . /app | |
| WORKDIR /app | |
| # Запускаем приложение | |
| CMD ["python", "app.py"] |