Download Dockerfile from han145/llama: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/han145/llama/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/han145/llama/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/han145/llama/resolve/main/Dockerfile
276 Bytes
| FROM ghcr.io/abetlen/llama-cpp-python:cpu-latest | |
| RUN pip install --no-cache-dir streamlit huggingface-hub | |
| COPY app.py /app/app.py | |
| WORKDIR /app | |
| RUN mkdir -p /data/models && chmod -R 777 /data | |
| CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"] |