Download Dockerfile from farid-inc/deeplx: direct link, hf CLI and curl.
- Browser
- Download file 366 Bytes
-
https://huggingface.co/spaces/farid-inc/deeplx/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/farid-inc/deeplx/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/farid-inc/deeplx/resolve/main/Dockerfile
366 Bytes
| FROM python:3.11-slim | |
| # Ставим зависимости | |
| RUN pip install --no-cache-dir wsgidav cheroot | |
| # Создаем рабочую директорию | |
| WORKDIR /app | |
| # Копируем наш серверный скрипт | |
| COPY server.py . | |
| # Hugging Face требует слушать порт 7860 | |
| EXPOSE 7860 | |
| # Запуск | |
| CMD ["python", "server.py"] |