Spaces:
Build error
Build error
Download Docker from Doubleupai/Readme: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/spaces/Doubleupai/Readme/resolve/main/Docker
- Command line
-
hf download hf://spaces/Doubleupai/Readme/Docker
-
curl -L -o Docker https://huggingface.co/spaces/Doubleupai/Readme/resolve/main/Docker
484 Bytes
| # Используем официальный образ Python | |
| FROM python:3.9-slim | |
| # Устанавливаем рабочую директорию | |
| WORKDIR /app | |
| # Копируем зависимости | |
| COPY requirements.txt . | |
| # Устанавливаем зависимости | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Копируем исходный код | |
| COPY . . | |
| # Команда для запуска приложения | |
| CMD ["python", "code_generator.py"] |