Download Dockerfile from Zamki/Optom: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/Zamki/Optom/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Zamki/Optom/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Zamki/Optom/resolve/main/Dockerfile
327 Bytes
| # Базовый образ Python | |
| FROM python:3.9-slim | |
| # Установка зависимостей | |
| COPY requirements.txt requirements.txt | |
| RUN pip install -r requirements.txt | |
| # Копируем приложение | |
| COPY app.py /app/app.py | |
| # Запускаем приложение | |
| EXPOSE 7860 | |
| CMD ["python", "/app/app.py"] |