Spaces:
No application file
No application file
Download llamacpp_python/base/Containerfile from jaothan/podman_model_server_flask: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/spaces/jaothan/podman_model_server_flask/resolve/main/llamacpp_python/base/Containerfile
- Command line
-
hf download hf://spaces/jaothan/podman_model_server_flask/llamacpp_python/base/Containerfile
-
curl -L -o Containerfile https://huggingface.co/spaces/jaothan/podman_model_server_flask/resolve/main/llamacpp_python/base/Containerfile
380 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","app.py"] | |