Spaces:
Build error
Build error
Download Dockerfile from AIBRUH/berylize-api: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/AIBRUH/berylize-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/AIBRUH/berylize-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/AIBRUH/berylize-api/resolve/main/Dockerfile
332 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y build-essential cmake && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir fastapi uvicorn huggingface_hub llama-cpp-python | |
| WORKDIR /app | |
| COPY app.py . | |
| RUN mkdir -p /data/models | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |