Spaces:
Runtime error
Runtime error
Download Dockerfile from DunaevStudio/Testt: direct link, hf CLI and curl.
- Browser
- Download file 494 Bytes
-
https://huggingface.co/spaces/DunaevStudio/Testt/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DunaevStudio/Testt/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DunaevStudio/Testt/resolve/main/Dockerfile
494 Bytes
| # Используем лёгкий образ Python | |
| FROM python:3.10-slim | |
| # Устанавливаем рабочую директорию | |
| WORKDIR /app | |
| # Копируем зависимости и устанавливаем их | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Копируем код приложения | |
| COPY app.py . | |
| # Открываем порт для Gradio | |
| EXPOSE 7860 | |
| # Запускаем приложение | |
| CMD ["python", "app.py"] |