jaothan's picture
Update llamacpp_python/base/Containerfile
c2359d1 verified
raw
history blame contribute delete
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" ]