Download dockerfile from qwenium/model: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/qwenium/model/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/qwenium/model/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/qwenium/model/resolve/main/dockerfile
560 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends curl build-essential | |
| # Установка llama-cpp-python (веб-сервер для твоей модели) | |
| RUN pip install llama-cpp-python[server] | |
| # Копируем модель и сайт | |
| COPY ./orack-mini.gguf /app/orack-mini.gguf | |
| COPY ./index.html /app/index.html | |
| # Команда, которая выполнится при старте контейнера | |
| CMD python -m llama_cpp.server --model /app/orack-mini.gguf --port 7860 --host 0.0.0.0 |