Download chatbot/model_servers/llamacpp_python/base/Containerfile from jaothan/podman: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/jaothan/podman/resolve/main/chatbot/model_servers/llamacpp_python/base/Containerfile
- Command line
-
hf download hf://spaces/jaothan/podman/chatbot/model_servers/llamacpp_python/base/Containerfile
-
curl -L -o Containerfile https://huggingface.co/spaces/jaothan/podman/resolve/main/chatbot/model_servers/llamacpp_python/base/Containerfile
372 Bytes
| FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316 | |
| WORKDIR /locallm | |
| COPY src . | |
| USER root | |
| RUN dnf install -y gcc-toolset-13-gcc gcc-toolset-13-gcc-c++ | |
| USER 1001 | |
| RUN CC="/opt/rh/gcc-toolset-13/root/usr/bin/gcc" CXX="/opt/rh/gcc-toolset-13/root/usr/bin/g++" pip install --no-cache-dir --verbose -r ./requirements.txt | |
| EXPOSE 8001 | |
| ENTRYPOINT [ "sh", "./run.sh" ] | |