Spaces:
Build error
Build error
Download llamacpp_python/base/Containerfile from jaothan/podman_llamacpp_python: direct link, hf CLI and curl.
- Browser
- Download file 430 Bytes
-
https://huggingface.co/spaces/jaothan/podman_llamacpp_python/resolve/main/llamacpp_python/base/Containerfile
- Command line
-
hf download hf://spaces/jaothan/podman_llamacpp_python/llamacpp_python/base/Containerfile
-
curl -L -o Containerfile https://huggingface.co/spaces/jaothan/podman_llamacpp_python/resolve/main/llamacpp_python/base/Containerfile
430 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 8000 | |
| ENTRYPOINT [ "sh", "./run.sh","app.py","chat_app.py","model_server.py","call-model.py" ] | |